home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 7104 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.4 KB

  1. Xref: sparky comp.os.os2.programmer:7104 comp.os.os2.apps:9444 comp.os.os2.misc:39782
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!ural.Eng.Sun.COM!deepakd
  3. From: deepakd@ural.Eng.Sun.COM (Deepak Dhamdhere)
  4. Newsgroups: comp.os.os2.programmer,comp.os.os2.apps,comp.os.os2.misc
  5. Subject: DLL question
  6. Date: 17 Dec 1992 19:23:42 GMT
  7. Organization: Sun Microsystems Inc., Mountain View, CA
  8. Lines: 21
  9. Message-ID: <lj1ktuINNftf@exodus.Eng.Sun.COM>
  10. NNTP-Posting-Host: ural
  11. Keywords: DLL library
  12.  
  13. I am posting this question for a friend, hope that the DLL experts can
  14. help him out.
  15.  
  16. Deepak Dhamdhere
  17.  
  18. ************
  19. I have an application that calls functions from ABC.DLL,
  20. those functions call routines from XYZ.DLL and those, in turn,
  21. call routines from the C library. This application starts a child process
  22. using DosExecPgm, which in turn, does the same thing. I have used 
  23. llibcdll.lib to link all these programs and libraries. 
  24.  
  25. Very frequently, it generates a segementation violation. When I checked
  26. with Codeview, I found that the malloc() call fails because it tries to
  27. load a non-existent segment into DS.
  28.  
  29. Any clues to why is this happening ? I would like to know the correct
  30. way of compiling and linking ABC.DLL, XYZ.DLL and the applications.
  31.  
  32. Your immediate help will be appreciated very much.
  33. ************
  34.