Originally posted by: Tim.2001
I try to convert my an exe-file to DLL.
Bye Tim
Hello,
How could I do this (Compiler switches)?
Originally posted by: Andrebon
Thanks for good sample...
but I got a problem.
No problem when DLL & EXE(Application) are both DEBUG mode
or RELEASE mode.
but, There is Assertion Error when DLL - DEBUG & EXE - RELEASE
or DLL - RELEASE & EXE - DEBUG...
is this right situation?
plz reply...
anyone..
Originally posted by: ParthaSarathy
Really the way the author has explained the DLL differnces seems ot be very Great.Hats off to him
ReplyOriginally posted by: Djibril
This is great. Thanks a lot.
Just one question: how to make a console application call one of the DLLs (say DLLC) to display a dialog)?
Originally posted by: wesg
1) Create a Regular DLL with AppWizard (MFC AppWizard DLL)
Wes
It seems there is a bug in Visual C++ 6.0 when creating a Regular DLL with AppWizard.
Try this out and let me know if you get the same results:
2) Create an exported function Test()
3) Add AFX_MANAGE_STATE(AfxGetStaticModuleState());
to the first line in the Test() function per MS instructions.
4) Add AfxMessageBox("Hello World");
to the Test() function.
5) Create a MFC AppWizard exe project and call the imported function from the "Test" DLL. Add a menu item to call the Test() function
6) Compile both the DLL and exe in Debug mode.
7) Run the exe and call the DLL function, an assertion should occur.
8) Compile both in Release mode and no problem.
Originally posted by: Linh Huynh
Thanks for your work, but one function in dialog C button A would not show anything ?
Reply