From: afn06760 AT afn DOT org Subject: Re: How do you strip a dll ? 1 Apr 1998 08:35:52 -0800 Message-ID: <199803270134.BAA88808.cygnus.gnu-win32@out1.ibm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=cp437 Content-Transfer-Encoding: 8bit To: gnu-win32 AT cygnus DOT com > Steve Biskis (mlx AT san DOT rr DOT com) > Mon, 23 Mar 1998 16:34:39 -0800 >> Quick couple o' questions for you gnu-win32 dll experts: >> >> I never have any problems running stripped .exe's. >> However, when I strip my .dll and then run an app that >> accesses it, I get a pop-up that says: >> >> "The application or DLL is not a valid Windows NT image. >> Please check this against your installation diskette." >> >> Are there some special flags that need to be provided to strip dlls ? >> Stripping a cgywin .a library makes it invalid. You have to link the library into an executable and then strip the executable. I am guessing the same thing happens when you strip a .dll file. In other words, don't strip dll's, especially in public in broad daylight. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".