🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2917

DLL question

#2917
From: Deepak Dhamdhere
Date: Thu, 17 Dec 1992 19:23
21 lines
1346 bytes
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.
************
Technical Details
Message-ID: <lj1ktuINNftf@exodus.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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