Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find Programming Language Used

Whats the easiest way to find out what programming language an application was written in? I would like to know if its vb or c++ or delphi or .net etc from the program exe file.

like image 784
veagles Avatar asked Dec 16 '08 14:12

veagles


People also ask

How do I know what programming language a program is using?

Use eda_preview270.exe (from here) or some other spy tool and check the window class names. If they read like TButton or TfrmBlubb, it's a VCL app. If there is an "Afx" in them, it's probably MFC.

Where is C++ code used?

C++ is one of the most widely-used programming languages in game development. It has been used to create: games, such as World of Warcraft, Counter-Strike, and StarCraft, game engines like Unreal Engine, and gaming consoles, including Xbox, PlayStation, and Nintendo Switch.


2 Answers

Try PEiD

of course if they used a packer, some unpacking will need to be done first :)

like image 124
John T Avatar answered Oct 12 '22 12:10

John T


Start it up and check what run-time DLLs it uses with Process Explorer.

If that doesn't make it immediately obvious, search the web for references to those DLLs.

Most disassemblers (including Olly I think) can easily show you the text contained in an EXE or DLL, and that can also sometimes give a clue. Delphi types are often prefixed with T as in TMyClass.

If it's a small executable with no DLL references and no text you might be SOL. At that point you'd need to look for idioms of particular compilers, and it would be mostly guesswork.

like image 34
Ed Guiness Avatar answered Oct 12 '22 12:10

Ed Guiness