Running the testbed exe through "Dependency Walker" shows the following profile: -------------------------------------------------------------------------------- Starting profile on 10/06/2010 at 14:40:22 Operating System: Microsoft Windows XP Professional (32-bit), version 5.01.2600 Service Pack 3 Program Executable: e:\not my documents\my projects\testbeds\interop\memoryleaks\debug\MEMORYLEAKS.EXE Program Arguments: Starting Directory: E:\Not My Documents\My Projects\Testbeds\InterOp\MemoryLeaks\Debug\ Search Path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\Serena\vm\win32\bin;C:\PROGRA~1\Serena\vm\common\bin\win32;C:\Program Files\Windows Imaging\;d:\Program Files\doxygen\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Intel\DMIX;C:\Program Files\Executive Software\DiskeeperLite\;C:\Program Files\Microsoft Web Designer Tools\VWD;E:\Projects\TechnologyProjects\TFS Projects\IST 5520 RubyOffset\Code\debug;E:\Projects\TechnologyProjects\TFS Projects\IST 5520 RubyOffset\Code\release;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;E:\Projects\5226\Versioned Files\Source\CNC Plugins\Fanuc 30i\Focas;C:\Program Files\HTML Help Workshop;E:\Projects\5226\Versioned Files\Source\Core\COMMaths Library;E:\Projects\5226\Hoops\bin\nt_i386_vc90;E:\Projects\5226\Hoops\bin\nt_i386_vc90d;E:\Projects\5226\Parasolid\intel_nt\base\dll;E:\Projects\5226\Versioned Files\Output\Bin;E:\Projects\5226\Versioned Files\Output\bin\Renishaw.ProdPlus.CoreRes;E:\Projects\5226\Versioned Files\Output\bin\Renishaw.ProdPlus.CNCPlugins.CoreRes;E:\Projects\5226\Versioned Files\Source\CNC Plugins\Mazak 640m\MazakMazatrol640mAPI;E:\Projects\5226\Versioned Files\Source\CNC Plugins\Fanuc 30i\Focas;E:\Projects\5226\InterOp\bin\NT_VC9_DLL;E:\Projects\5226\InterOp\bin\NT_VC9_DLLD;E:\Projects\5226\InterOp\lib3dx\intel_a\code\bin Options Selected: Simulate ShellExecute by inserting any App Paths directories into the PATH environment variable. Log DllMain calls for process attach and process detach messages. Log DllMain calls for all other messages, including thread attach and thread detach. Hook the process to gather more detailed dependency information. Log LoadLibrary function calls. Log debug output messages. Use full paths when logging file names. Log a time stamp with each line of log. Automatically open and profile child processes. -------------------------------------------------------------------------------- 00:00:00.000: Started "e:\not my documents\my projects\testbeds\interop\memoryleaks\debug\MEMORYLEAKS.EXE" (process 0xF68) at address 0x00400000. Successfully hooked module. 00:00:00.000: Loaded "c:\windows\system32\NTDLL.DLL" at address 0x7C900000. Successfully hooked module. 00:00:00.031: Loaded "c:\windows\system32\KERNEL32.DLL" at address 0x7C800000. Successfully hooked module. 00:00:00.031: DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\NTDLL.DLL" called. 00:00:00.031: DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\NTDLL.DLL" returned 1 (0x1). 00:00:00.031: DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\KERNEL32.DLL" called. 00:00:00.047: DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\KERNEL32.DLL" returned 1 (0x1). 00:00:00.047: Injected "c:\progra~1\depends\DEPENDS.DLL" at address 0x08370000. 00:00:00.062: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\progra~1\depends\DEPENDS.DLL" called. 00:00:00.062: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\progra~1\depends\DEPENDS.DLL" returned 1 (0x1). 00:00:00.078: Loaded "c:\windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_5d84dd2f\MSVCR90D.DLL" at address 0x10200000. Successfully hooked module. 00:00:00.093: Loaded "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXINTEROPD.DLL" at address 0x10000000. Successfully hooked module. 00:00:00.109: Loaded "e:\projects\5226\interop\bin\nt_vc9_dlld\ICUUC38D.DLL" at address 0x00420000. Successfully hooked module. 00:00:00.109: Loaded "e:\projects\5226\interop\bin\nt_vc9_dll\ICUDT38.DLL" at address 0x4AD00000. Successfully hooked module. 00:00:00.125: Loaded "c:\windows\system32\ADVAPI32.DLL" at address 0x77DD0000. Successfully hooked module. 00:00:00.140: Loaded "c:\windows\system32\RPCRT4.DLL" at address 0x77E70000. Successfully hooked module. 00:00:00.140: Loaded "c:\windows\system32\SECUR32.DLL" at address 0x77FE0000. Successfully hooked module. 00:00:00.156: Loaded "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXBASED.DLL" at address 0x00560000. Successfully hooked module. 00:00:00.234: Loaded "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAACISD.DLL" at address 0x006C0000. Successfully hooked module. 00:00:00.250: Loaded "c:\windows\system32\NETAPI32.DLL" at address 0x5B860000. Successfully hooked module. 00:00:00.265: Loaded "c:\windows\system32\MSVCRT.DLL" at address 0x77C10000. Successfully hooked module. 00:00:00.297: Loaded "c:\windows\system32\IPHLPAPI.DLL" at address 0x76D60000. Successfully hooked module. 00:00:00.312: Loaded "c:\windows\system32\USER32.DLL" at address 0x7E410000. Successfully hooked module. 00:00:00.312: Loaded "c:\windows\system32\GDI32.DLL" at address 0x77F10000. Successfully hooked module. 00:00:00.328: Loaded "c:\windows\system32\WS2_32.DLL" at address 0x71AB0000. Successfully hooked module. 00:00:00.343: Loaded "c:\windows\system32\WS2HELP.DLL" at address 0x71AA0000. Successfully hooked module. 00:00:00.343: Entrypoint reached. All implicit modules have been loaded. 00:00:00.343: DllMain(0x10200000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_5d84dd2f\MSVCR90D.DLL" called. 00:00:00.375: DllMain(0x10200000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_5d84dd2f\MSVCR90D.DLL" returned 1 (0x1). 00:00:00.390: DllMain(0x77FE0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\SECUR32.DLL" called. 00:00:00.390: DllMain(0x77FE0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\SECUR32.DLL" returned 1 (0x1). 00:00:00.390: DllMain(0x77E70000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\RPCRT4.DLL" called. 00:00:00.390: DllMain(0x77E70000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\RPCRT4.DLL" returned 1 (0x1). 00:00:00.406: DllMain(0x77DD0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\ADVAPI32.DLL" called. 00:00:00.406: DllMain(0x77DD0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\ADVAPI32.DLL" returned 1 (0x1). 00:00:00.406: DllMain(0x00420000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\ICUUC38D.DLL" called. 00:00:00.406: DllMain(0x00420000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\ICUUC38D.DLL" returned 1 (0x1). 00:00:00.406: DllMain(0x00560000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXBASED.DLL" called. 00:00:00.422: DllMain(0x00560000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXBASED.DLL" returned 1 (0x1). 00:00:00.422: DllMain(0x77C10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\MSVCRT.DLL" called. 00:00:00.422: DllMain(0x77C10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\MSVCRT.DLL" returned 1 (0x1). 00:00:00.437: DllMain(0x5B860000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\NETAPI32.DLL" called. 00:00:00.437: DllMain(0x5B860000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\NETAPI32.DLL" returned 1 (0x1). 00:00:00.437: DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\GDI32.DLL" called. 00:00:00.437: DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\GDI32.DLL" returned 1 (0x1). 00:00:00.437: DllMain(0x7E410000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\USER32.DLL" called. 00:00:00.437: LoadLibraryW("C:\WINDOWS\system32\IMM32.DLL") called from "c:\windows\system32\USER32.DLL" at address 0x7E44DF6E. 00:00:00.437: Loaded "c:\windows\system32\IMM32.DLL" at address 0x76390000. Successfully hooked module. 00:00:00.437: DllMain(0x76390000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\IMM32.DLL" called. 00:00:00.468: DllMain(0x76390000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\IMM32.DLL" returned 1 (0x1). 00:00:00.468: LoadLibraryW("C:\WINDOWS\system32\IMM32.DLL") returned 0x76390000. 00:00:00.468: LoadLibraryW("LPK.DLL") called from "c:\windows\system32\GDI32.DLL" at address 0x77F3DA06. 00:00:00.484: Loaded "c:\windows\system32\LPK.DLL" at address 0x629C0000. Successfully hooked module. 00:00:00.484: Loaded "c:\windows\system32\USP10.DLL" at address 0x74D90000. Successfully hooked module. 00:00:00.484: DllMain(0x74D90000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\USP10.DLL" called. 00:00:00.484: LoadLibraryA("gdi32.dll") called from "c:\windows\system32\USP10.DLL" at address 0x74DAE20F. 00:00:00.484: LoadLibraryA("gdi32.dll") returned 0x77F10000. 00:00:00.484: DllMain(0x74D90000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\USP10.DLL" returned 1 (0x1). 00:00:00.484: DllMain(0x629C0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\LPK.DLL" called. 00:00:00.484: DllMain(0x629C0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\LPK.DLL" returned 1 (0x1). 00:00:00.484: LoadLibraryW("LPK.DLL") returned 0x629C0000. 00:00:00.515: DllMain(0x7E410000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\USER32.DLL" returned 1 (0x1). 00:00:00.515: DllMain(0x71AA0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\WS2HELP.DLL" called. 00:00:00.515: DllMain(0x71AA0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\WS2HELP.DLL" returned 1 (0x1). 00:00:00.515: DllMain(0x71AB0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\WS2_32.DLL" called. 00:00:00.515: DllMain(0x71AB0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\WS2_32.DLL" returned 1 (0x1). 00:00:00.515: DllMain(0x76D60000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\IPHLPAPI.DLL" called. 00:00:00.531: DllMain(0x76D60000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\IPHLPAPI.DLL" returned 1 (0x1). 00:00:00.531: DllMain(0x006C0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAACISD.DLL" called. 00:00:00.562: DllMain(0x006C0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAACISD.DLL" returned 1 (0x1). 00:00:00.562: DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXINTEROPD.DLL" called. 00:00:00.562: DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x0012FD30) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXINTEROPD.DLL" returned 1 (0x1). 00:00:00.562: DllMain(0x629C0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\LPK.DLL" called. 00:00:00.562: DllMain(0x629C0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\LPK.DLL" returned 1 (0x1). 00:00:00.562: DllMain(0x74D90000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\USP10.DLL" called. 00:00:00.562: DllMain(0x74D90000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\USP10.DLL" returned 1 (0x1). 00:00:00.578: DllMain(0x76390000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\IMM32.DLL" called. 00:00:00.578: DllMain(0x76390000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\IMM32.DLL" returned 1 (0x1). 00:00:00.578: DllMain(0x10000000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXINTEROPD.DLL" called. 00:00:00.578: DllMain(0x10000000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXINTEROPD.DLL" returned 1 (0x1). 00:00:00.578: DllMain(0x006C0000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAACISD.DLL" called. 00:00:00.593: DllMain(0x006C0000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAACISD.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x76D60000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\IPHLPAPI.DLL" called. 00:00:00.593: DllMain(0x76D60000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\IPHLPAPI.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x71AB0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\WS2_32.DLL" called. 00:00:00.593: DllMain(0x71AB0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\WS2_32.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x71AA0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\WS2HELP.DLL" called. 00:00:00.593: DllMain(0x71AA0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\WS2HELP.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x7E410000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\USER32.DLL" called. 00:00:00.593: DllMain(0x7E410000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\USER32.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x77F10000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\GDI32.DLL" called. 00:00:00.593: DllMain(0x77F10000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\GDI32.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x5B860000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\NETAPI32.DLL" called. 00:00:00.593: DllMain(0x5B860000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\NETAPI32.DLL" returned 2147348481 (0x7FFDF001). 00:00:00.593: DllMain(0x77C10000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\MSVCRT.DLL" called. 00:00:00.593: DllMain(0x77C10000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\MSVCRT.DLL" returned 1 (0x1). 00:00:00.593: DllMain(0x00560000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXBASED.DLL" called. 00:00:00.609: DllMain(0x00560000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\SPAXBASED.DLL" returned 1 (0x1). 00:00:00.609: DllMain(0x00420000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\ICUUC38D.DLL" called. 00:00:00.609: DllMain(0x00420000, DLL_PROCESS_DETACH, 0x00000001) in "e:\projects\5226\interop\bin\nt_vc9_dlld\ICUUC38D.DLL" returned 1 (0x1). 00:00:00.609: DllMain(0x77DD0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\ADVAPI32.DLL" called. 00:00:00.609: DllMain(0x77DD0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\ADVAPI32.DLL" returned 1 (0x1). 00:00:00.609: DllMain(0x77E70000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\RPCRT4.DLL" called. 00:00:00.609: DllMain(0x77E70000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\RPCRT4.DLL" returned 1 (0x1). 00:00:00.609: DllMain(0x77FE0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\SECUR32.DLL" called. 00:00:00.609: DllMain(0x77FE0000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\SECUR32.DLL" returned 1 (0x1). 00:00:00.609: DllMain(0x10200000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_5d84dd2f\MSVCR90D.DLL" called. 00:00:00.609: Detected memory leaks! 00:00:00.609: Dumping objects -> 00:00:00.609: {9299} normal block at 0x0038F698, 1 bytes long. 00:00:00.625: Data: < > CD 00:00:00.625: {128} normal block at 0x00389D10, 256 bytes long. 00:00:00.625: Data: < G G > 10 04 47 00 10 0B 47 00 00 00 00 00 00 00 00 00 00:00:00.625: {124} normal block at 0x00386B58, 12252 bytes long. 00:00:00.625: Data: < > 01 00 00 80 00 00 00 00 00 00 00 00 01 00 00 80 00:00:00.625: {123} normal block at 0x00386AE0, 56 bytes long. 00:00:00.625: Data: 58 6B 38 00 00 25 49 00 C0 28 49 00 00 00 00 00 00:00:00.625: {122} normal block at 0x003869C0, 228 bytes long. 00:00:00.625: Data: < hi8 > E4 00 00 00 01 00 00 00 68 69 38 00 00 00 00 00 00:00:00.625: {121} normal block at 0x00386968, 28 bytes long. 00:00:00.625: Data: < z4K > 00 00 00 00 F0 7A 34 4B 00 00 00 00 01 00 00 00 00:00:00.625: {120} normal block at 0x00386910, 28 bytes long. 00:00:00.625: Data: < ' J > 00 00 00 00 20 27 E1 4A 00 00 00 00 01 00 00 00 00:00:00.625: {119} normal block at 0x003868B8, 28 bytes long. 00:00:00.625: Data: < dP J J > 9C 64 50 00 00 10 D0 4A 80 10 D0 4A 01 00 00 00 00:00:00.625: Object dump complete. 00:00:00.625: DllMain(0x10200000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_5d84dd2f\MSVCR90D.DLL" returned 1 (0x1). 00:00:00.640: DllMain(0x08370000, DLL_PROCESS_DETACH, 0x00000001) in "c:\progra~1\depends\DEPENDS.DLL" called. 00:00:00.640: DllMain(0x08370000, DLL_PROCESS_DETACH, 0x00000001) in "c:\progra~1\depends\DEPENDS.DLL" returned 1 (0x1). 00:00:00.640: DllMain(0x7C800000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\KERNEL32.DLL" called. 00:00:00.640: DllMain(0x7C800000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\KERNEL32.DLL" returned 1 (0x1). 00:00:00.640: DllMain(0x7C900000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\NTDLL.DLL" called. 00:00:00.640: DllMain(0x7C900000, DLL_PROCESS_DETACH, 0x00000001) in "c:\windows\system32\NTDLL.DLL" returned 1 (0x1). 00:00:00.640: Exited "e:\not my documents\my projects\testbeds\interop\memoryleaks\debug\MEMORYLEAKS.EXE" (process 0xF68) with code 0 (0x0). Note after the point where the leaks are reported, only system DLLs are unloaded - all InterOp dlls have been unloaded, and should not be retaining any memory (...except leaks?)