Re: activex wrapper for a .net control by Francisco
Francisco
Tue Jul 19 04:08:50 CDT 2005
It should work but, in any case, you can write an ActiveX control with
Managed Extensions for C++, and use your managed control.
"christoph" <christoph@discussions.microsoft.com> escribió en el mensaje
news:63953555-01E9-45A6-A60E-0185CEF3DC28@microsoft.com...
> Sorry, but it's not so easy.
> This will not work for any ActiveX host, e.g. the .Net host itself!!
>
> It's necesary to write a COM wrapper which hosts the .net control itself
> --
> christoph.w
>
>
> "Francisco Garcia" wrote:
>
>> Hi,
>>
>> Use regasm.exe .NET Framework SDK utility to register your .NET control
>> as
>> if it were an ActiveX control, and use it from C++ as usual.
>>
>> Hope it helps,
>>
>> Fran Garcia
>>
>> "christoph" <christoph@discussions.microsoft.com> escribió en el mensaje
>> news:0FB309DD-8B26-4608-8785-8F8C8E561E06@microsoft.com...
>> > is it possible to provide an activex wrapper for a .Net control,
>> > e.g. written as C++ MFC or ATL class?
>> >
>> > --
>> > christoph.w
>>
>>
>>