Creating a Windows Forms DLL for usage in Win32 application

  • Thread starter Thread starter bofh
  • Start date Start date
B

bofh

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top