digitalmars.D - how difficlut to create a com object in D
- yidabu (17/17) Apr 23 2007 how difficlut to create a com object in D
- BLS (11/35) Apr 23 2007 You ask for creating of COM Objects ? (not sure, in case that ...)
- BLS (5/45) Apr 23 2007 Just forget to say that the D example source directory is containing :
- yidabu (7/47) Apr 23 2007 On Mon, 23 Apr 2007 19:07:40 -0400
- Justin C Calvarese (24/44) Apr 23 2007 If Juno were updated and we knew how to use it properly, I think it'd be...
- yidabu (3/67) Apr 24 2007 thanks a million!
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/exa ples/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?
Apr 23 2007
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/exa ples/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?
Apr 23 2007
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/exa ples/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?
Apr 23 2007
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:-- yidabu <yidabu gmail.com>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/exa ples/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?
Apr 23 2007
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. BjoernYou 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:-- yidabu <yidabu gmail.com>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/exa ples/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?
Apr 23 2007
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
Apr 23 2007
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/core32Well, 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/junoexample: http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/exa ples/browser/main.dThat 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
Apr 23 2007
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/core32Well, 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/junoexample: http://svn.dsource.org/projects/l8night/trunk/l8night/dfc/exa ples/browser/main.dThat 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
Apr 24 2007