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.
Bryan Phillips - 15 Oct 2006 18:44 GMT
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
> Hi,
> I have a managed c++ DLL, and I want to add a dialog box to it.
[quoted text clipped - 9 lines]
> thanks,
> Yoav.