home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!microsoft!wingnut!neils
- From: neils@microsoft.com (Neil Smith)
- Subject: Re: MSC++ 7.0 large model compiling
- Message-ID: <1992Sep04.140351.19925@microsoft.com>
- Date: 04 Sep 92 14:03:51 GMT
- Organization: Microsoft Corporation
- References: <1992Sep4.023430.16008@cs.UAlberta.CA>
- Keywords: Microsoft C/C++ 7.0 arrgh
- Lines: 24
-
- In article <1992Sep4.023430.16008@cs.UAlberta.CA> ken@cs.UAlberta.CA (Huisman Kenneth M) writes:
- >
- >If I compile with /AL ( large model ) and link with lafxdwd, libw, llibcew
- >it compiles ok, but when I run it it comes up with an application error
- >( "no main procedure" ). I thought this was really odd since the main
- >procedure I think it is looking for is supposed to be defined in the
- >class library.
-
- LAFXDWD.LIB is the DLL-support version of the large model MFC library
- (similar in spirit to LDLLCEW.LIB). You need to link against
- LAFXCWD.LIB -- this is the proper version for making executables.
-
- LAFXCWD.LIB isn't provided pre-built in the C7 box; you need to compile
- it yourself. To do this:
-
- Ensure your INCLUDE environment variable points to \C700\MFC\INCLUDE
- and \C700\INCLUDE.
-
- cd \C700\MFC\SRC
- nmake TARGET=W MODEL=L DEBUG=1
-
- or see \C700\MFC\SRC\README.TXT for more detailed instructions.
- --
-
- Neil Smith - Microsoft/AFX - neils@microsoft.com
- Visualize Whirled Peas!
-