Hi,

is it possible to create a DLL including some functions which will
create a Windows Forms Dialog? If this is possible i'd like to know if
i can use this DLL in native ( normal win32 ) applications? If this is
also possible please tell me how this has to be done.

Thanks a lot
Michael

Re: Creating a Windows Forms DLL for usage in Win32 application by Stoitcho

Stoitcho
Tue Apr 11 08:13:00 CDT 2006

The only way you can use a managed DLL in a native application is if the dll
registeres COM objects. You can create your forms as ActiveX controls and
use them as such.

It is pretty easy to create ActiveX controls with windows forms and I'm
pretty sure you can find good articles on this on the net or MSDN.


--
HTH
Stoitcho Goutsev (100)

<bofh@primusnetz.de> wrote in message
news:1144755956.762230.258940@e56g2000cwe.googlegroups.com...
> Hi,
>
> is it possible to create a DLL including some functions which will
> create a Windows Forms Dialog? If this is possible i'd like to know if
> i can use this DLL in native ( normal win32 ) applications? If this is
> also possible please tell me how this has to be done.
>
> Thanks a lot
> Michael
>