🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5747

Identify type of executable

#5747
From: jB
Date: Sat, 09 Jul 2005 07:35
15 lines
1297 bytes
Dears,

Is it possible to identify what type of application an exe file is.

i.e fred.exe = a normal application but jane.exe is a service app.

If I invoke fred.exe it will load but jane .exe will do nothing unless I add 
/install etc. Obviously the entry points are different. Is there a way I can 
tell the type of exe and maybe even output a help dialog from jane.exe 
telling the user it is a service app and must be installed. I know there are 
other types of exe (some are actuall dll's)..

Thanks

jB 
Technical Details
Message-ID: <42cf7e2a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2d48b56176231f83,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "jB" <.>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Identify type of executable
Date: Sat, 9 Jul 2005 09:35:07 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 212.254.100.114
Message-ID: <42cf7e2a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1120894506 212.254.100.114 (9 Jul 2005 00:35:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail