Article View: comp.windows.ms.programmer
Article #1299Having an EXE and DLL of the same name
From: James Seidman
Date: Tue, 12 Feb 1991 16:45
Date: Tue, 12 Feb 1991 16:45
16 lines
1208 bytes
1208 bytes
I'm probably missing something really obvious here. I have a program which requires a DLL to go along with it. I'd like to have them named the same (e.g. XYZPROG.EXE and XYZPROG.DLL). The problem is that when I try to declare an import function from the DLL in the DEF for the EXE, link complains about a "self-import," thinking the EXE is trying to import from itself. I'd really prefer not to have to import the functions explicitly. Is there some simple way around this problem? Thanks in advance. -- Jim Seidman (Drax), the accidental engineer. "It doesn't have to work... they'll be paralyzed just from laughing at me." - Dr. Who, _Shada_ UUCP: ames!vsi1!hsv3!jls INTERNET: hsv3.UUCP!jls@apple.com
Technical Details
Message-ID:
<7134@hsv3.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!indetech!vsi1!hsv3!jlsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!indetech!vsi1!hsv3!jls From: jls@hsv3.UUCP (James Seidman) Newsgroups: comp.windows.ms.programmer Subject: Having an EXE and DLL of the same name Message-ID: <7134@hsv3.UUCP> Date: 12 Feb 91 16:45:18 GMT Reply-To: jls@hsv3.UUCP (James Seidman) Organization: Video Seven / Headland Technology Lines: 16