ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/04/05:18:13

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Thu, 4 Apr 2002 15:07:09 +0500 (GMT)
Message-Id: <200204041007.g34A79413407@lhr.paknet.com.pk>
X-Authentication-Warning: lhr.paknet.com.pk: nobody set sender to mhpia AT lhr DOT paknet DOT com DOT pk using -f
From: "Sunita Marshal" <mhpia AT lhr DOT paknet DOT com DOT pk>
To: djgpp AT delorie DOT com
Subject: SPAWNed child-DLM shares what Parents have?
X-Mailer: PakMail 1.14
X-IPAddress: 195.129.100.8
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Dear Guru,

I am working on an assignment given by my university.
There is a project of accounting software package.
I am instructed to develop all this in a manner where one component of 
the package invokes another using spanwn() series.
I find that much of the stuff of User-Interface and Other Common 
Routines are being re-used in each component. (Just duplicating!)
So I planned to incorporate some Dynamic-Linking-System into my project.
DLM technology seems to be best but I've a question.

Does each 'spawned' child-EXE-component loads its own copy of DLM 
libraries even Parent has already loaded them ?

If the answer is yes, I will not get what I want.
My package is to do all this in the same Virtual-Machine (VM) of Win32. 
(Restriction imposed by DJGPP FAQ Edition 2.30, section 8.15)
So Child should share in-memory-copy of libraries its parent(s) have. 

I have used Borland PowerPack at my University and found that 
DOS/Windows DLL can  also be shared by DOS programs even among 
different VMs as long as a Windows DLL doesn't make calls to Windows 
user interface or graphics functions. The Borland Paradox Engine is an 
example.

I will be grateful if you help me to locate some other C++ package in 
this case.

Please reply me directly on (EMAIL) mhpia AT lhr DOT paknet DOT com DOT pk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019