Creating a dialog in managed c++ DLL

  • Thread starter Thread starter Yoavo
  • Start date Start date
Y

Yoavo

Hi,
I have a managed c++ DLL, and I want to add a dialog box to it.
How do I do it ?
I tried to design a dialog box in the resources, and use the MFC wizard to
attach a class to it but I got some link errors:
"unresoulved external symbol ___wargv"

Should I use the MFC wizard ?
If not, how do I attach the class to the resources ?
Can someone please help ?

thanks,
Yoav.
 
If you are just trying to add a dialog, add a managed dialog (form) to
the DLL. Mixing unmanaged and managed code is a little complex, so I
avoid it until it becomes necessary. (I write a lot of managed wrappers
for the more complicated Win32 functions instead of using p/invoke.)

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
 
Back
Top