Creating ActiveX in D

Daniel Keep daniel.keep.lists at gmail.com
Thu Jul 23 15:55:37 PDT 2009



John C wrote:
> 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
> 
> I wouldn't, certainly not merely out of curiosity. It's a mountain of work, and you have to implement lots of pretty obscure interfaces. If you really must do it, find a C++ example and translate it to D.

That or use VB6.  I remember it being pretty much painless.  :D



More information about the Digitalmars-d mailing list