home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4312 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!newsserver.technet.sg!solomon.technet.sg!scstech
  3. From: scstech@solomon.technet.sg (Kenneth Soh)
  4. Subject: Memory Models Help
  5. Message-ID: <BzEz8t.2K2@newsserver.technet.sg>
  6. Sender: news@newsserver.technet.sg
  7. Nntp-Posting-Host: solomon.technet.sg
  8. Organization: Singapore Computer Systems Ltd
  9. Date: Thu, 17 Dec 1992 17:29:16 GMT
  10. Lines: 27
  11.  
  12. Hi all...
  13.  
  14. Thanks for all who helped me with the memory management stuff in Windows,
  15. especially Brad of NASA - who promptly answered my SOS message even at
  16. 1:30 in the morning.
  17.  
  18. I've now "migrated" to large memory model as my Windows application needs
  19. large memory for data. My application is to be run on a dedicated PC
  20. and hence I don't have to worry about not being able to run multiple
  21. instances of it under the large model.
  22.  
  23. Microsoft C/C++ and its MFC library actually comes with .lib's for the
  24. different memory models. We can actually use mixed models by simply
  25. utilising the "_f*" set of functions like _fmemcpy(), _fstrcpy() etc for
  26. far access from within a small or medium model. Correct me if I am
  27. wrong.
  28.  
  29. My only doubt is that I have those ?LIBCE.LIB library files. Why my
  30. linker keeps saying that the ?LIBCA.LIB file not found ? I suspect
  31. that this is due to the comm library which I linked with. If I just ignore
  32. that message and force it to link with the ?LIBCE.LIB it works fine
  33. thus far. Just dunno whats wrong. Anyone can tell me why ?
  34.  
  35. Merry Xmas !
  36.  
  37. Kenneth Soh
  38. Singapore
  39.