Article View: comp.windows.ms.programmer
Article #1306Re: Having an EXE and DLL of the same name
From: Jeff Porter
Date: Tue, 12 Feb 1991 23:44
Date: Tue, 12 Feb 1991 23:44
14 lines
1084 bytes
1084 bytes
In article <7134@hsv3.UUCP>, jls@hsv3.UUCP (James Seidman) writes: |> |> 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. |> Windows only allows either a DLL or EXE with a given name. It's a documented feature in the SDK manuals. Jeff Porter
Technical Details
Message-ID:
<15097@uudell.dell.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!chinacat!uudell!twaddle.dell.com!jporterReferences:
<7134@hsv3.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!chinacat!uudell!twaddle.dell.com!jporter From: jporter@twaddle.dell.com (Jeff Porter) Newsgroups: comp.windows.ms.programmer Subject: Re: Having an EXE and DLL of the same name Message-ID: <15097@uudell.dell.com> Date: 12 Feb 91 23:44:35 GMT References: <7134@hsv3.UUCP> Sender: news@uudell.dell.com Reply-To: jporter@twaddle.dell.com (Jeff Porter) Organization: Dell Computer Corp. Lines: 14