Creating ActiveX in D

BLS windevguy at hotmail.de
Thu Jul 23 22:23:02 PDT 2009


div0 wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> BLS wrote:
>> Hi,
>> Sergey G. ask (by accident ;) ) about : How to create an ActiveX control
>> in D.
>> Now, I am curious : Is it possible to create an ActiveX Control In D ?
>>
>> Something along :
>> class Component : IDispatch
>> {
>> }
>>
>> instead of :
>>
>> class Component : IUnknown
>> {
>> }
>>
>> and if so, how to build an AX control in D, guess as DLL + D runtime ???
>>
>> Thank's for enlighten me.
>> björn
> 
> Just implementing IDispatch doesn't make a COM component an ActiveX
> Control. IDispatch is used as a calling interface for older scripting
> languages like VB6.

like Java script :)

IDispatch + all the registerWTF thingies  ?
> 
> ActiveX controls have to implement a whole bunch of interfaces.
> They are a right arse ache to do and I can highly recommend staying
> clear of it.
> 
> If you are really interested:
> 
> http://msdn.microsoft.com/en-us/library/aa268985(VS.60).aspx
> 

Thanks for the pointer!

> - --
> My enormous talent is exceeded only by my outrageous laziness.
> http://www.ssTk.co.uk
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iD8DBQFKaLgCT9LetA9XoXwRAr/RAKDFuT4TGzfwN6naWmXQtNX6RQpJHQCfYOO2
> Lr/oaPwHjROCACUs+B8lS1o=
> =42Ui
> -----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list