www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/16/19:41:57

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
To: <djgpp-workers AT delorie DOT com>
Subject: RE: Difficulty with cwsdstub.exe
Date: Fri, 17 May 2002 01:41:34 +0200
Message-ID: <000201c1fd33$36e2fed0$258ce0d5@zastaixp>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
In-reply-to: <59898174FB@HRZ1.hrz.tu-darmstadt.de>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> way. Of course, the compiled binary works ok but
> it inmediately stops working as soon as the command:
>  copy /b cwsdstub.exe + unzip.exe unzip32.exe
> is performed.

Well, if unzip.exe is an actual .exe, of course it won't
work (it's an EXE, hence the 'not COFF' error).
You'll need to strip the pre-existing stub from it:

  $ exe2coff unzip.exe
  $ cat cwsdstub.exe unzip >unzip32.exe


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019