Quote:
I have a dll , i want to know whether it is compiled using _UNICODE and
UNICODE macro. Is there any way to find the same ?
Nothing 100% sure. Nothing prevents one to call/declare ANSI API from a
|
Unicode component, or wide API from an ANSI one.
(see for instance here:
http://www.mihai-nita.net/20060317a.shtml)
But you can try "dumpbin /exports" and "dumpbin /imports"
If you see wide API and in your code you know you don't explicitely call
it, then is compiled with UNICODE.
If it needs MFC and in imports you see mfc80.dll, then is ANSI, and if
you see mfc80u.dll, then is Unicode.
But, as I was saying, there is no 100% proof, without seeing the code.
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email