Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see c++ and c# dll dependencies?

Tags:

c++

c#

dll

I have a python project that calls a c++ wrapper dll that calls a c# com interop dll. In my computer, with all frameworks and programs installed, my project runs very well.

But in a computer that just got formatted it doesn't. I allready installed c++ 2008 redistribute and the c++ part is working but when I call a function from it (that will call the c# correspondent one), it gives an error.

I want to know what are the dll dependencies from both c++ and c# dll's to see what is missing :)

like image 363
aF. Avatar asked Dec 12 '22 21:12

aF.


2 Answers

Looks like you need Dependency Walker.

like image 64
Johannes Rudolph Avatar answered Dec 28 '22 02:12

Johannes Rudolph


Dependency Walker (a.k.a. depends.exe) works for both native DLLs and managed DLLs.

It is included in some Visual Studio versions, and can also be downloaded here.

like image 25
Thomas Avatar answered Dec 28 '22 02:12

Thomas