Creating a dialog in managed c++ DLL

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

Bryan Phillips

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
 

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

Top