PInvoke Library Load/Unload Behavior – Freeing Unmanaged Libraries

What’s the load behavior of dlls that we PInvoke into anyway?  The libraries that are pinvoked are loaded when the 1st call to that function is made.  The module will stay loaded in memory until the AppDomain shuts down.  Typically this means that the dll will be loaded into your applications memory until the process…

3

Debugging VB6 binaries in Visual Studio .NET

If you are using interop to call into a VB6 ActiveX dll or exe and you need to debug your VB6 project you may find yourself having both VS.NET and the VB6 IDE open.  This can certainly be far from efficient.   Typically you set your VB6 project to “Wait for the Component to be…

7