MSVS 2005 Managed C++ dll, needs a Dialog in /clr:
Hello,
This problem seems to have me backed into a corner.
MSVS 2005 Managed C++ dll, needs a Dialog in /clr:oldsyntax.
The Dll just needs to display a dialog to accept a password.
1. My first choice was an MFC CDialog from the class wizard; yeilds:
"a mfc class can only be created in an mfc application."
Sensible enouph,
2. Could I link to the app and get the same effect?
using #include "TextDialogDlg.h" gives a "CDialog undefined",
I include <afxwin.h> and some other header...winforms i think...and I get a variety of link errors.
windows.h already included and such.
3. Ran across WinForms! Don't know what they are (precisely), but gave it a shot.
Ran into trouble trying to define Point() of reference.
Backed into the corner.
Anybody have any suggestions?
4. Tried WinForms from the add->new wizard,
I get "cannot add winforms with /clr:oldsyntax"
Currently oldsyntax has to stick....
Any insight is appreciated?
Thnx.
|