home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.programmer:7104 comp.os.os2.apps:9444 comp.os.os2.misc:39782
- 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
- From: deepakd@ural.Eng.Sun.COM (Deepak Dhamdhere)
- Newsgroups: comp.os.os2.programmer,comp.os.os2.apps,comp.os.os2.misc
- Subject: DLL question
- Date: 17 Dec 1992 19:23:42 GMT
- Organization: Sun Microsystems Inc., Mountain View, CA
- Lines: 21
- Message-ID: <lj1ktuINNftf@exodus.Eng.Sun.COM>
- NNTP-Posting-Host: ural
- Keywords: DLL library
-
- I am posting this question for a friend, hope that the DLL experts can
- help him out.
-
- Deepak Dhamdhere
-
- ************
- I have an application that calls functions from ABC.DLL,
- those functions call routines from XYZ.DLL and those, in turn,
- call routines from the C library. This application starts a child process
- using DosExecPgm, which in turn, does the same thing. I have used
- llibcdll.lib to link all these programs and libraries.
-
- Very frequently, it generates a segementation violation. When I checked
- with Codeview, I found that the malloc() call fails because it tries to
- load a non-existent segment into DS.
-
- Any clues to why is this happening ? I would like to know the correct
- way of compiling and linking ABC.DLL, XYZ.DLL and the applications.
-
- Your immediate help will be appreciated very much.
- ************
-