Article View: comp.windows.ms.programmer
Article #2868Re: BC++ Classes having duplicate execution problem'
From: Risto Lankinen
Date: Mon, 27 May 1991 07:23
Date: Mon, 27 May 1991 07:23
24 lines
1599 bytes
1599 bytes
mwizard@eecs.cs.pdx.edu (Craig Nelson) writes: >My question is simple. How does Windows start up the same program from an >entirely different executable, with only the linked libraries in common ? Hi! Check the 'NAME <appname>' field of each program's linker definition file. You should use an <appname> that corresponds the executable file name of the resulting program. Also, you cannot use the same <filename>.EXE for both programs, even if they stayed put in different directories. Why? The Windows uses both the executable file name and the 'NAME'-field of the linker definition, to decide from where (if at all) to reload a new application (or a segment in an already loaded application). Thus, at any moment in a Windows system there should be loaded only such modules, which have both <filename> and <appname> unique. Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 3 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 +1 is PRIME! Now working on 2 -1 * replies: risto@yj.data.nokia.fi ***************************************
Technical Details
Message-ID:
<1188@tuura.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!fuug!tuura!ristoReferences:
<2739@pdxgate.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!fuug!tuura!risto From: risto@tuura.UUCP (Risto Lankinen) Newsgroups: comp.windows.ms.programmer Subject: Re: BC++ Classes having duplicate execution problem' Message-ID: <1188@tuura.UUCP> Date: 27 May 91 07:23:12 GMT References: <2739@pdxgate.UUCP> Organization: Nokia Data Systems Oy Lines: 24