suresh
suresh

Reputation: 4244

finding whether an exe is dynamically linked (windows)

How to find whether an exe is dynamically linked or statically linked in windows?

Upvotes: 2

Views: 646

Answers (2)

Dewayne Christensen
Dewayne Christensen

Reputation: 2094

All Windows apps are dynamically linked to the Windows API. If you need to determine how a specific non-Windows library (like libxml or somesuch) was linked, Visual Studio includes a program called DEPENDS.EXE that will show all the DLL's an exe is linked against. If the library in question isn't listed, then it's either linked statically, or it's not linked at all.

Upvotes: 2

erikkallen
erikkallen

Reputation: 34421

Static/dynamic linking is a transitive property. You have to specify to what it is statically/dynamically linked. And everything is dynamically linked to the winapi.

Upvotes: 2

Related Questions