| Thread overview |
|---|
April 23, 2007 how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
how difficlut to create a com object in D in vb6, reference Microsoft Internet Controls in project, then: Set ie = CreateObject("InternetExplorer.Application") only one line code to create a instance of IE but how difficult to do it in D! jcc7's Juno seems great! Juno: http://dsource.org/projects/core32 example: http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d oldrev modified juno.com.base to fit new version of DMD: http://bbs.yidabu.com/attachments/d/combase.zip but Juno is very outdated! can't running in a recent version of DMD. the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD anybody help? | ||||
April 23, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to yidabu | You ask for creating of COM Objects ? (not sure, in case that ...)
import std.c.windows.com;
class MyCOMobject : ComObject
{
extern (Windows):
...
}
// from Digital Mars Documentation;
JUNO is AFAIK 1. not up to date (pre 1.0) and 2. for COM clients/consumers
HTH Bjoern
yidabu Wrote:
>
> how difficlut to create a com object in D
>
> in vb6, reference Microsoft Internet Controls in project, then:
> Set ie = CreateObject("InternetExplorer.Application")
>
> only one line code to create a instance of IE
>
> but how difficult to do it in D!
>
> jcc7's Juno seems great!
> Juno:
> http://dsource.org/projects/core32
> example:
> http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d
> oldrev modified juno.com.base to fit new version of DMD:
> http://bbs.yidabu.com/attachments/d/combase.zip
>
> but Juno is very outdated! can't running in a recent version of DMD.
>
>
> the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD
>
> anybody help?
| |||
April 23, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to BLS | Just forget to say that the D example source directory is containing :
an example COM client program and server DLL.
So HTH
Bjoern
BLS Wrote:
> You ask for creating of COM Objects ? (not sure, in case that ...)
>
> import std.c.windows.com;
>
> class MyCOMobject : ComObject
> {
> extern (Windows):
> ...
> }
> // from Digital Mars Documentation;
> JUNO is AFAIK 1. not up to date (pre 1.0) and 2. for COM clients/consumers
> HTH Bjoern
>
> yidabu Wrote:
>
> >
> > how difficlut to create a com object in D
> >
> > in vb6, reference Microsoft Internet Controls in project, then:
> > Set ie = CreateObject("InternetExplorer.Application")
> >
> > only one line code to create a instance of IE
> >
> > but how difficult to do it in D!
> >
> > jcc7's Juno seems great!
> > Juno:
> > http://dsource.org/projects/core32
> > example:
> > http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d
> > oldrev modified juno.com.base to fit new version of DMD:
> > http://bbs.yidabu.com/attachments/d/combase.zip
> >
> > but Juno is very outdated! can't running in a recent version of DMD.
> >
> >
> > the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD
> >
> > anybody help?
>
| |||
April 23, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to BLS | On Mon, 23 Apr 2007 19:07:40 -0400 BLS <nanali@nospam-wanadoo.fr> wrote: thanks a lot. I want to creating a instance of InternetExplorer, then SetParent() to Form.handle(created by DFL),display HTML + CSS in a GUI. any example? > You ask for creating of COM Objects ? (not sure, in case that ...) > > import std.c.windows.com; > > class MyCOMobject : ComObject > { > extern (Windows): > ... > } > // from Digital Mars Documentation; > JUNO is AFAIK 1. not up to date (pre 1.0) and 2. for COM clients/consumers > HTH Bjoern > > yidabu Wrote: > > > > > how difficlut to create a com object in D > > > > in vb6, reference Microsoft Internet Controls in project, then: > > Set ie = CreateObject("InternetExplorer.Application") > > > > only one line code to create a instance of IE > > > > but how difficult to do it in D! > > > > jcc7's Juno seems great! > > Juno: > > http://dsource.org/projects/core32 > > example: > > http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d > > oldrev modified juno.com.base to fit new version of DMD: > > http://bbs.yidabu.com/attachments/d/combase.zip > > > > but Juno is very outdated! can't running in a recent version of DMD. > > > > > > the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD > > > > anybody help? > -- yidabu <yidabu@gmail.com> | |||
April 23, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to yidabu | yidabu Wrote: > On Mon, 23 Apr 2007 19:07:40 -0400 > BLS <nanali@nospam-wanadoo.fr> wrote: > > thanks a lot. > > I want to creating a instance of InternetExplorer, then SetParent() to Form.handle(created by DFL),display HTML + CSS in a GUI. > > any example? > HeHeHe <g> this is not done with only 2 lines of code. However in case that a "late binding" solution (like in VB for instance) is acceptable I can try to figure out the basics .. ? let me know. Bjoern > > You ask for creating of COM Objects ? (not sure, in case that ...) > > > > import std.c.windows.com; > > > > class MyCOMobject : ComObject > > { > > extern (Windows): > > ... > > } > > // from Digital Mars Documentation; > > JUNO is AFAIK 1. not up to date (pre 1.0) and 2. for COM clients/consumers > > HTH Bjoern > > > > yidabu Wrote: > > > > > > > > how difficlut to create a com object in D > > > > > > in vb6, reference Microsoft Internet Controls in project, then: > > > Set ie = CreateObject("InternetExplorer.Application") > > > > > > only one line code to create a instance of IE > > > > > > but how difficult to do it in D! > > > > > > jcc7's Juno seems great! > > > Juno: > > > http://dsource.org/projects/core32 > > > example: > > > http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d > > > oldrev modified juno.com.base to fit new version of DMD: > > > http://bbs.yidabu.com/attachments/d/combase.zip > > > > > > but Juno is very outdated! can't running in a recent version of DMD. > > > > > > > > > the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD > > > > > > anybody help? > > > > > -- > yidabu <yidabu@gmail.com> | |||
April 23, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to BLS | thanks a million!
I'm waiting for you answer!
On Mon, 23 Apr 2007 19:36:34 -0400
BLS <nanali@nospam-wanadoo.fr> wrote:
>
> HeHeHe <g> this is not done with only 2 lines of code. However in case that a "late binding" solution (like in VB for instance) is acceptable I can try to figure out the basics .. ? let me know.
> Bjoern
>
>
>
| |||
April 24, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to yidabu Attachments: | yidabu wrote: > how difficlut to create a com object in D > > in vb6, reference Microsoft Internet Controls in project, then: > Set ie = CreateObject("InternetExplorer.Application") > > only one line code to create a instance of IE > > but how difficult to do it in D! If Juno were updated and we knew how to use it properly, I think it'd be pretty easy in D, too. But Juno is a little out-of-date right now (and I don't know how to use it very well). > jcc7's Juno seems great! I want to be clear: I'm a big fan of Juno (and I've added some content to its wiki), but it's not my project. Juno belongs to John. > Juno: > http://dsource.org/projects/core32 Well, I don't mean to nitpick, but that's the link for Core32 (which I am kind of in charge of, but it's been abandoned). Juno's link is http://www.dsource.org/projects/juno > example: http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d That example requires l8night/dfc and Core32 (both of which would need to be updated to use with recent versions of D). It shows how to create embed Internet Explorer into an application -- which I think is really cool, but it'd take some work to update it for DMD 1.00+. > oldrev modified juno.com.base to fit new version of DMD: http://bbs.yidabu.com/attachments/d/combase.zip > > but Juno is very outdated! can't running in a recent version of DMD. I wouldn't consider Juno to be "very" outdated, but it hasn't been updated since a revision or two before DMD 1.00 came out. So its development has fallen behind. > the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD > > anybody help? I developed a simple Internet Explorer example to work using the Microsoft Script Control (which is sort of cheating) using a slightly modified version of oldrev's Juno version. Anyway, I think it might be helpful for you, so I attached the code. I don't think that it quite does what you want, but perhaps it will serve as inspiration. -- jcc7 | |||
April 24, 2007 Re: how difficlut to create a com object in D | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Justin C Calvarese | thanks a million!
Great!
Justin C Calvarese Wrote:
> yidabu wrote:
> > how difficlut to create a com object in D
> >
> > in vb6, reference Microsoft Internet Controls in project, then:
> > Set ie = CreateObject("InternetExplorer.Application")
> >
> > only one line code to create a instance of IE
> >
> > but how difficult to do it in D!
>
> If Juno were updated and we knew how to use it properly, I think it'd be pretty easy in D, too. But Juno is a little out-of-date right now (and I don't know how to use it very well).
>
>
> > jcc7's Juno seems great!
>
> I want to be clear: I'm a big fan of Juno (and I've added some content to its wiki), but it's not my project. Juno belongs to John.
>
>
> > Juno:
> > http://dsource.org/projects/core32
>
> Well, I don't mean to nitpick, but that's the link for Core32 (which I am kind of in charge of, but it's been abandoned).
>
> Juno's link is http://www.dsource.org/projects/juno
>
>
> > example: http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/examples/browser/main.d
>
> That example requires l8night/dfc and Core32 (both of which would need to be updated to use with recent versions of D). It shows how to create embed Internet Explorer into an application -- which I think is really cool, but it'd take some work to update it for DMD 1.00+.
>
>
> > oldrev modified juno.com.base to fit new version of DMD: http://bbs.yidabu.com/attachments/d/combase.zip
> >
> > but Juno is very outdated! can't running in a recent version of DMD.
>
> I wouldn't consider Juno to be "very" outdated, but it hasn't been updated since a revision or two before DMD 1.00 came out. So its development has fallen behind.
>
>
> > the IE example seems simple, unfornately, I'm newbie of programming, and New to D, I unable to do some work to get it running in a recent version of DMD
> >
> > anybody help?
>
> I developed a simple Internet Explorer example to work using the Microsoft Script Control (which is sort of cheating) using a slightly modified version of oldrev's Juno version.
>
> Anyway, I think it might be helpful for you, so I attached the code. I don't think that it quite does what you want, but perhaps it will serve as inspiration.
>
> --
> jcc7
>
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply