I created an MFC-enabled DLL project in MSVC++6.0, added a blank dialog resource with the resource editor, and run the following when the DLL is loaded:
CDialog dlg;
dlg.Create(IDD_DLG);
This fails. It also fails if I use MAKEINTRESOURCE before passing IDD_DLG in. It gives me a failed assertion saying something about a resource handle being NULL. Why can't I do this?
~BenDilts( void );
CDialog dlg;
dlg.Create(IDD_DLG);
This fails. It also fails if I use MAKEINTRESOURCE before passing IDD_DLG in. It gives me a failed assertion saying something about a resource handle being NULL. Why can't I do this?
~BenDilts( void );