X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=wVrzpn3M/y3idDFMc1YhtvnDq3KQVxu4N+gfzLJo0dM=; b=TCIJBMttBcN1SftK3bhtiNjGc0udOpVOANUPtz5ZO/hWBAkLAENsxdSbtOLTObScteMaRnAaJ8IUgBxHiLkaiK1oPUmuYo32WT7tEu8/KJi/5Lvs5dPZkzgS3KRS1a4nhzOY1P6eEqp82gKbwsdgv7k58ic3NsvReW3NUqu66oY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=SuHPisWPiUPkIFgE7aqFTIIOaw3lL9B5ZBPfzHJzMWlrtl5HiabYT+uvwmWbaW+FjnIRdCx3LAOaF+//PrcFYlIfdJLfHEb12NVHfpOaIy2ylsAORrzbRwvLIvMrH4oNTeny8GKu57jX9Hmkaks3IA7JsSKt4D5nABi1bgWW9QQ= Message-ID: <8a7a093d0710060215u2d408f3dj5b49ce298c6ede8a@mail.gmail.com> Date: Sat, 6 Oct 2007 11:15:32 +0200 From: MegaBrutal To: djgpp AT delorie DOT com Subject: Identifying DJGPP EXE files MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Reply-To: djgpp AT delorie DOT com Hi all, I've been searching the DJGPP online docs for half of an hour, but I couldn't find the answer (maybe I was searching in wrong place?), therefore I'll ask you. I want to write a program that examines .EXE files, and tells if it's compiled with a DOS extender, or not. If it's compiled with a DOS extender, it should also tell which one. Can you tell me how can I decide if an .EXE file uses a DOS extender or not, and how can I distinguish between several DOS extenders, so how can I identify DJGPP for example? Thanks, MegaBrutal