Computing.Net > Forums > Programming > what language

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

what language

Reply to Message Icon

Original Message
Name: enivra
Date: December 31, 2004 at 05:14:18 Pacific
Subject: what language
OS: windows
CPU/Ram: any
Comment:

How do I know if a particular exe/com/dll file is made in which programming language.
Specifically
VB, c++,c, delphi, some of .NETs atleast


Report Offensive Message For Removal


Response Number 1
Name: BlueRaja
Date: December 31, 2004 at 08:41:26 Pacific
Reply: (edit)

short answer - you don't.

BlueRaja.admin@gmail.com


Report Offensive Follow Up For Removal

Response Number 2
Name: ChanSahib
Date: January 1, 2005 at 08:09:13 Pacific
Reply: (edit)

Actually yes you can
Regarding Microsoft compilers
The quickest way is to right click the file
and looking at the version tab

If a C++ application is compiled using the MFC then it will have "MFC APPLICATION" in the description.

Visual Basic won't have MFC in it ..
Typicvally VB has
Company name
Fielversion
Internal name
Language
Original Filename
Product name
Product version

Product name tends to be something like project1 (though this can be changed by the programmer)

If you have just compiled a C or C++ using the .cpp file only it will not have the version tab

But the best way of checking the file is to use a resource hacker or some kind and a hex editor.

To just differniate the type of exe a hex viewer/editor is best

A hex editor can be used to read the file (or you can can even try good ole notepad too !!), VB files will have things like MSVBVM60.DLL, C:\Progz\MVS6\VB98\VB6.OLB, and VB object names like form1, label1 etc inside the file
(note anything MSVB = Msoft Visual Basic)

Anything from DotNet will have references to .net in it, and the VB or C DLL e.g. MSVBVM70. dll (for vb) - basically it will reference the DLL it uses and diferent compilers use different dll's - hence you can seperate Vb and C++ compiled exe's. Dunno about delphi's exe but if you have programmd using delpi .. you may recognise references in it .. if not at least you'll know it is not a VB or MSC++ compiled file


(for a resource hacker Go to download.com and download a app called resource hacker. Anything compiled from C++ will have dialogue boxes that can be displayed using the resource hacker

Resource hacker can only alter the icon/icon group and version info tabs of a VB file.)


Report Offensive Follow Up For Removal

Response Number 3
Name: ChanSahib
Date: January 1, 2005 at 08:17:57 Pacific
Reply: (edit)

After saying i did't know about Delphi and posting the above, i;ve just looked at a Borland compiled file . and noticed this in the exe

"SOFTWARE\Borland\Delphi\"

and

"Portions Copyright (c) 1983,97 Borland"
plus a couple more references to Borland

You can actually view all this very simply by opening in a simple text editor (although hex editors/viewers are best for looking through files like these)


Report Offensive Follow Up For Removal

Response Number 4
Name: borelli35
Date: January 5, 2005 at 15:04:39 Pacific
Reply: (edit)

======================================================================
Also, with Delphi, you will see references to the Visual Control Library and its version (e.g. VCL60.DLL).

borelli35


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software