Thread View: comp.os.ms-windows.programmer
2 messages
2 total messages
Started by Howard Uman
Wed, 15 Nov 1995 15:50
Problem Using Visual C++ to build .DLL
Author: Howard Uman
Date: Wed, 15 Nov 1995 15:50
Date: Wed, 15 Nov 1995 15:50
17 lines
1053 bytes
1053 bytes
I've got Visual C++ going, and when I try to build a .DLL file with the
Medium memory model, it fails during the link because it cannot find a
file called mafxdwd.lib. This file is *NOWHERE* to be found on the
CD-Rom.
If I compile and link from the command line, using a different make
file, but the medium memory model, it works fine (I don't link in this
mafxdwd.lib file).
The problem is Visual C++ automatically adds this file and oldnames.lib
to our project. We really don't need either, but oldnames doesn't blow
us up.
Thanks. Post response here and/or (preferrably, to ensure I get the
response) to howieu@ix.netcom.com.
Thanks, Howie
Re: Problem Using Visual C++ to build .DLL
Author: David Preece
Date: Sat, 18 Nov 1995 19:12
Date: Sat, 18 Nov 1995 19:12
25 lines
1198 bytes
1198 bytes
> I've got Visual C++ going, and when I try to build a .DLL file with the > Medium memory model..... Problem solved, there is no such thing as a medium memory model DLL, at least not under MFC. The reason it is trying to link mafxdwd.lib is that the names of the libraries are put together according to a convention: mAFXcwd.LIB m=Memory model (Small, Medium, Compact, Large) c=Create (C=Exe, D=Dll) w=Target (Windows, R=Realmode Dos) d=Debug (if present) So VC++ is trying to look for the library to build a medium memory model windows dll with debugging information. No such thing as a medium model DLL, so there is no library file. RTFM: Appendix B of Class Library Users' Guide Build in large model and all will be well. -David Preece dmpreece@tcp.co.uk
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads