how difficlut to create a com object in D

BLS nanali at nospam-wanadoo.fr
Mon Apr 23 16:36:34 PDT 2007


yidabu Wrote:

> On Mon, 23 Apr 2007 19:07:40 -0400
> BLS <nanali at 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 at gmail.com>




More information about the Digitalmars-d mailing list