Path: 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 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 ' field of each program's linker definition file. You should use an that corresponds the executable file name of the resulting program. Also, you cannot use the same .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 and 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)