Click here to Skip to main content
15,906,081 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I have dll which I was using in one of my application. Since I moved to new 64 bit development environment, my application started to throw exceptions. I strongly doubt , the issue is with the dll which I was referring. Is there a way to find out whether that dll supports/ works with 64 bit environment.

Regards
Sebatian
Posted
Comments
Matej Hlatky 5-Mar-13 2:13am    
What kind of Exceptions?
Are you referencing managed .NET .dll or C/C++ .dll?
Have you tried to change Target Platform to x86?

The simplest way is to use a dependency walker, like this one: http://www.dependencywalker.com/[^]. It should show you which libraries are not really compatible with your application.
But it can resolve only library-level dependency constraints. And there are many situations, when the referenced dll is ok, but the api behind the function it calls works differently in x68 and x64 environment. It is not the case in pure managed libraries and framework libraries manage it also, but you need to be careful in case of third party libraries doing API calls (p/invoke). So I suggest you use reflector on such libraries, and check every referenced function. If it references a winapi, you can check on msdn, if it is a call to unmanaged library, it can be difficult...
 
Share this answer
 
Well therically any dll which works on 32 bit system will work on 64 bit system and wow64 takes care of that. See the WIKI WOW64[^]

If you can tell what is the exeception you are getting then we might be able to help you better how ever if your dll is accessing registery then it can be solved by putting registery key under wow3264Node.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900