Article View: comp.windows.ms.programmer
Article #2931Re: BC++ Classes having duplicate execution problem'
From: Risto Lankinen
Date: Mon, 27 May 1991 12:23
Date: Mon, 27 May 1991 12:23
27 lines
1722 bytes
1722 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 *************************************** * Origin: Seaeast - Fidonet<->Usenet Gateway - sunbrk (1:343/15.0)
Technical Details
Message-ID:
<675518012.1@sunbrk.FidoNet>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!polari!rwing!seaeast!sunbrk!UsenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!polari!rwing!seaeast!sunbrk!Usenet From: Risto.Lankinen@sunbrk.FidoNet.Org (Risto Lankinen) Newsgroups: comp.windows.ms.programmer Subject: Re: BC++ Classes having duplicate execution problem' Message-ID: <675518012.1@sunbrk.FidoNet> Date: 27 May 91 12:23:12 GMT Sender: Usenet@sunbrk.FidoNet.Org Lines: 27