473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Is it possible to find in what language a dll has been programmed?

Hi,
Is there anyway to find if a dll or exe has been compiled from C++ or Delphi
or whatever language?
Jul 22 '05 #1
10 10227
Santi posted:
Hi,
Is there anyway to find if a dll or exe has been compiled from C++ or Delphi or whatever language?


Not unless the author wants that to be know.

A DLL has a Windows file header, and that's followed by
machine code.

Try http://www.dependancywalker.com/
-JKop
Jul 22 '05 #2
Santi wrote:
Is there anyway to find if a dll or exe has been compiled from C++ or Delphi
or whatever language?


Generally speaking, no, it's not possible.

V
Jul 22 '05 #3
In message <Jf*****************@news.indigo.ie>, JKop <NU**@NULL.NULL>
writes
Santi posted:
Hi,
Is there anyway to find if a dll or exe has been compiled

from C++ or
Delphi or whatever language?


Not unless the author wants that to be know.

A DLL has a Windows file header, and that's followed by
machine code.

Try http://www.dependancywalker.com/


Then try http://www.dependencywalker.com/ ;-(

--
Richard Herring
Jul 22 '05 #4
On Mon, 12 Jul 2004 10:36:41 +0200, "Santi" <n@s.e> wrote:
Hi,
Is there anyway to find if a dll or exe has been compiled from C++ or Delphi
or whatever language?

1 Sometimes "Properties" will give you this sort of information.

2 Sometimes a utility to extract printable ASCII strings will show up
some relevant information.

3 Neither of these is guaranteed to work.

rossum

--

The Ultimate Truth is that there is no Ultimate Truth
Jul 22 '05 #5
"Santi" <n@s.e> wrote in message news:<cc**********@nsnmrro2-gest.nuria.telefonica-data.net>...
Hi,
Is there anyway to find if a dll or exe has been compiled from C++ or Delphi
or whatever language?


As everyone else has said, no. However, depending on how desperate
you are, there are some ways of gaining a statistical indication:

In the absence of function type qualifiers (_declspec, etc) the
calling convention is determined by the language. In C, caller pushes
arguments, caller, pops. In Pascal, the caller pushes, but the callee
pops. Naturally, you would have to sample many functions in the EXE
to gain some certainty about the language. There is also the matter
of virtual functions. C++ has a distinct sequences of instructions
for accessing a pointer in the virtual function table. This sequence
might be different from other OO languagues.

If you pick 4 or 5 things to check for, then you could derive
stochastic answer to your question. Do not try to do this
programmatically, as you will discover that there no such thing as a
quick-and-dirty disassembler.

-Chaud Lapin-
Jul 22 '05 #6
I agree with Chaud Lapin
But beside compiler specific of code generation,
sometime there is possibility to differ 2 compilers based at
register, register code of operations.

All register, register 80x86 commands (such as MOV al,bl CMP edx,ebx)
may be presented by 2 set of codes, for example:
31C0 XOR EAX,EAX
33C0 XOR EAX,EAX
in the first case bit direction is 0 in the second 1.
Some compiler prefers to clear this bit in reg, reg OP, other ones likes to
set it to 1.

Regards, Alex
http://smike.ru
http://ircdb.org
Jul 22 '05 #7

"Le Chaud Lapin" <un*****************@yahoo.com> wrote in message
-Chaud Lapin-


Did you know your name is "(The) heat rabbit"? :-)

If you were trying for "(The) hot rabbit", that would be "(Le) lapin chaud".

Backwards the French everything write.

:-)

-Howard

Jul 22 '05 #8
On Wed, 14 Jul 2004 20:43:22 GMT, "Howard" <al*****@hotmail.com>
wrote:

"Le Chaud Lapin" <un*****************@yahoo.com> wrote in message
-Chaud Lapin-
Did you know your name is "(The) heat rabbit"? :-)

If you were trying for "(The) hot rabbit", that would be "(Le) lapin chaud".

Backwards the French everything write.


Which is why they call NATO OTAN.

rossum

:-)

-Howard


--

The Ultimate Truth is that there is no Ultimate Truth
Jul 22 '05 #9
Howard wrote:
"Le Chaud Lapin" <un*****************@yahoo.com> wrote in message
-Chaud Lapin-

Did you know your name is "(The) heat rabbit"? :-)

If you were trying for "(The) hot rabbit", that would be "(Le) lapin chaud".

Backwards the French everything write.


Not everything, there are exceptions like grand, petit, jeune, joli,
beau, mauvais, nouveau, autre, vieux...etc which should be put in front
of the noun.

If you think C++ is a difficult language try learning french!

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Jul 22 '05 #10

"Peter van Merkerk" <me*****@deadspam.com> wrote in message news:2l************@uni-berlin.de...
Howard wrote:
"Le Chaud Lapin" <un*****************@yahoo.com> wrote in message
-Chaud Lapin-

Did you know your name is "(The) heat rabbit"? :-)


In Quebec it might be drunk rabbit or horny rabbit...
Jul 22 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Al Davis | last post by:
Note: I tried cross-posting this message to several newsgoups, including comp.lang.perl.misc, c.l.p.moderated, comp.infosystems.www.authoring.cgi, comp.lang.javascript and comp.lang.php. Nothing...
10
by: ross | last post by:
I want to do some tricky text file manipulation on many files, but have only a little programming knowledge. What are the ideal languages for the following examples? 1. Starting from a certain...
8
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ;...
0
by: K. Deepa | last post by:
Hi All, Is it possible find the size of a pgsql table. TIA -- regards, Deepa K
2
by: thatisvaliant | last post by:
is it possible to determine what language an exe was created in? for example, i am interested in know what language onenote.exe and infopath.exe are written in.
5
by: gerryR | last post by:
Not sure where to post this as I don't know what language it applies to (yet) Basically I work in IT and often have to manipulate folder structures or large amounts of text files and am looking...
2
by: DR | last post by:
how to determine what language a c# string is written in? is there any C# method to take a string and return what language it is in? e.g. english, hindi, spanish, etc.
1
by: DR | last post by:
how to determine what language a string is written in? is there any method to take a string and return what language it is in? e.g. english, hindi, spanish, etc.
5
by: fscopel | last post by:
The eternal question... What language should I dedicate the beginning/most of my career to? It seems pretty obvious that most programmers can code in more than one language, but they are more...
5
by: Larry__Weiss | last post by:
Can a C# program find out what language an assembly (or components thereof) is written in? - Larry
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.