home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1678 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!microsoft!wingnut!neils
  3. From: neils@microsoft.com (Neil Smith)
  4. Subject: Re: MSC++ 7.0 large model compiling
  5. Message-ID: <1992Sep04.140351.19925@microsoft.com>
  6. Date: 04 Sep 92 14:03:51 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Sep4.023430.16008@cs.UAlberta.CA>
  9. Keywords: Microsoft C/C++ 7.0 arrgh
  10. Lines: 24
  11.  
  12. In article <1992Sep4.023430.16008@cs.UAlberta.CA> ken@cs.UAlberta.CA (Huisman Kenneth M) writes:
  13. >
  14. >If I compile with /AL ( large model ) and link with lafxdwd, libw, llibcew
  15. >it compiles ok, but when I run it it comes up with an application error
  16. >( "no main procedure" ).  I thought this was really odd since the main
  17. >procedure I think it is looking for is supposed to be defined in the
  18. >class library.
  19.  
  20. LAFXDWD.LIB is the DLL-support version of the large model MFC library
  21. (similar in spirit to LDLLCEW.LIB).  You need to link against
  22. LAFXCWD.LIB -- this is the proper version for making executables.
  23.  
  24. LAFXCWD.LIB isn't provided pre-built in the C7 box; you need to compile
  25. it yourself.  To do this:
  26.  
  27. Ensure your INCLUDE environment variable points to \C700\MFC\INCLUDE
  28. and \C700\INCLUDE.
  29.  
  30. cd \C700\MFC\SRC
  31. nmake TARGET=W MODEL=L DEBUG=1
  32.  
  33. or see \C700\MFC\SRC\README.TXT for more detailed instructions.
  34. -- 
  35.  
  36. Neil Smith - Microsoft/AFX - neils@microsoft.com
  37. Visualize Whirled Peas!
  38.