🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2068

Re: Faking re-entrancy with second copy of DLL?

#2068
From: Mehran Farimani
Date: Mon, 16 Nov 1992 12:11
31 lines
1632 bytes
In article <1992Nov15.021203.12280@netcom.com> steven@netcom.com (Steven Nelson) writes:
>In article <1992Nov14.093916.1050@netcom.com> mbk@netcom.com (Miles Kehoe) writes:
>>
>>If you rename X.DLL to Y.DLL, and tell your program to
>>access Y.DLL instead of X.DLL, is anything else going
>>to bite you? It *looks* like 'x' is stored in X.DLL
>>and simply renaming the DLL file does NOT do the
>>complete trick. 
>>
>>Suppose now that you had a copy of the DLL source; can
>>you simply rename and relink it?
>>
>>I know it's wierd.... just trying to fake it!
>>
>>Miles
>>
>
>You will need to change the LIBRARY statement in the  .DEF file
>and relink the application that uses the DLL with this new library. 
>This is the name used by Windows to load the appropriate DLL.
>
>Steven Nelson
>steven@netcom.com 

I'm not sure if that's quite right. My experience has been that Windows
looks for a DLL based on its file name. There is no need for recompiling
the library to rename it ...

Regards,

--Mehran
Technical Details
Message-ID: <Bxt5vv.Bs7@watserv1.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!monet.uwaterloo.ca!mehran
References: <1992Nov14.093916.1050@netcom.com> <1992Nov15.021203.12280@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!monet.uwaterloo.ca!mehran
From: mehran@monet.uwaterloo.ca (Mehran Farimani)
Subject: Re: Faking re-entrancy with second copy of DLL?
Message-ID: <Bxt5vv.Bs7@watserv1.uwaterloo.ca>
Keywords: DLL REENTRANT
Sender: news@watserv1.uwaterloo.ca
Organization: University of Waterloo
References: <1992Nov14.093916.1050@netcom.com> <1992Nov15.021203.12280@netcom.com>
Date: Mon, 16 Nov 1992 12:11:55 GMT
Lines: 32