Link to home
Start Free TrialLog in
Avatar of zmau
zmau

asked on

How to know if a C++ DLL/EXE is a Debug or a Release version ?

Hello,
I have a guess that the reason of performance issues my application, are related to a third party DLL, being "compiled in Debug".
The system runs on Windows.
I wonder how can I verify this issue.
I do not need a 100% reliability, 70% are enough.

Which tools might be helpful ?

Thanks
zmau

Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

A debug version will likely contain tables that allow a debugger to reference and monitor variables by name.

If you know any of the variable names that should be contained in this binary, use any tool at your disposal to see if you can find several of them.  Remember that the names are case sensitive.
Avatar of zmau
zmau

ASKER

Thanks for the quick answer.

I have Visual Studio (2015) (probably a different version than the one that built the DLL).
How can I use it ? Simply open the DLL (Cntrl+O) ?


Thanks again
zmau

I'm not a Visual Studio guy.  

There are tools out there that will dump and and/or display the contents of a DLL or EXE.  Have you tried one of them?

SOLUTION
Avatar of phoffric
phoffric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zmau

ASKER

Thanks all.
Kent:
"There are tools out there that will dump and and/or display the contents of a DLL or EXE.  Have you tried one of them?" 
Could you please name one tool ?


phoffric
Thanks, I will try.
Just one thing :  I can not "set a breakpoint in the DLL" simply because I do not have the code. But, I will see what will happen when I "step into the DLL", I will try to see if Visual Studio "understands the DLL".

Thanks
zmau
Avatar of zmau

ASKER

Qlemo :
Thank, I will try.

zmau