C:\Ivan\cpp\MallocSpyTest>MallocSpyTest ADODB.Recordset CoInitialize() returns 0x00000000 CoRegisterMallocSpy() returns 0x00000000 MALLOC SPY: 0x0013BBB0 - 28 bytes allocated MALLOC SPY: 0x0013B090 - 40 bytes allocated MALLOC SPY: 0x0013B340 - 1432 bytes allocated MALLOC SPY: 0x0013BBD8 - 34 bytes allocated MALLOC SPY: 0x0013BC08 - 640 bytes allocated MALLOC SPY: 0x0013A8F8 - 44 bytes allocated MALLOC SPY: 0x0013BE90 - 52 bytes allocated MALLOC SPY: 0x0013BED0 - 40 bytes allocated MALLOC SPY: 0x0013BF00 - 120 bytes allocated MALLOC SPY: 0x0013BF80 - 32 bytes allocated MALLOC SPY: 0x0013BFA8 - 272 bytes allocated MALLOC SPY: 0x0013C0C0 - 60 bytes allocated MALLOC SPY: 0x0013C108 - 60 bytes allocated MALLOC SPY: 0x0013C150 - 32 bytes allocated MALLOC SPY: 0x0013C150 - freed, 13 blocks remaining MALLOC SPY: 0x0013C4B0 - 476 bytes allocated MALLOC SPY: 0x0013C4B0 - freed, 13 blocks remaining CLSIDFromProgID() returns 0x00000000 MALLOC SPY: 0x0013E020 - 64 bytes allocated MALLOC SPY: 0x0013DF88 - 34 bytes allocated MALLOC SPY: 0x0013C150 - 28 bytes allocated MALLOC SPY: 0x00142F38 - 216 bytes allocated MALLOC SPY: 0x00141DE8 - 16 bytes allocated MALLOC SPY: 0x00141C98 - 16 bytes allocated CoCreateInstance() returns 0x00000000 Object released MALLOC SPY: 0x0013C150 - freed, 18 blocks remaining MALLOC SPY: 0x0013DF88 - freed, 17 blocks remaining MALLOC SPY: 0x0013E020 - freed, 16 blocks remaining MALLOC SPY: 0x0013B090 - freed, 15 blocks remaining MALLOC SPY: 0x00141DE8 - freed, 14 blocks remaining MALLOC SPY: 0x00141C98 - freed, 13 blocks remaining MALLOC SPY: 0x00142F38 - freed, 12 blocks remaining Called CoUninitialize() CoRevokeMallocSpy() returns 0x80070005 MALLOC SPY: detected memory leaks! 0x0013A8F8 - 44 bytes: 98 B1 5A 77 08 BC 13 00 01 00 00 00 01 00 11 00 ..Zw............ 0x0013B340 - 1432 bytes: D8 4E 5A 77 B8 4E 5A 77 F8 A8 13 00 43 00 3A 00 .NZw.NZw....C.:. 0x0013BBB0 - 28 bytes: 02 00 1C 00 01 00 00 00 00 00 14 00 FF FF F3 FF ................ 0x0013BBD8 - 34 bytes: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 0x0013BC08 - 640 bytes: 43 00 3A 00 5C 00 57 00 49 00 4E 00 4E 00 54 00 C.:.\.W.I.N.N.T. 0x0013BE90 - 52 bytes: 50 6F 6F 68 00 01 10 00 00 00 00 00 C0 00 00 00 Pooh............ 0x0013BED0 - 40 bytes: F8 85 5A 77 D8 85 5A 77 40 B3 13 00 68 96 13 00 ..Zw..Zw@...h... 0x0013BF00 - 120 bytes: 98 51 5A 77 B8 2B 5A 77 00 00 00 00 A2 09 00 00 .QZw.+Zw........ 0x0013BF80 - 32 bytes: A8 65 5A 77 00 01 13 00 3D 00 00 00 04 00 00 00 .eZw....=....... 0x0013BFA8 - 272 bytes: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 0x0013C0C0 - 60 bytes: D8 BB 5A 77 DC 4E BE 00 E4 02 00 00 0C 4F BE 00 ..Zw.N.......O.. 0x0013C108 - 60 bytes: D8 BB 5A 77 DC 4E BE 00 F4 02 00 00 0C 4F BE 00 ..Zw.N.......O.. MALLOC SPY: 0x0013C0C0 - freed, 11 blocks remaining MALLOC SPY: 0x0013C108 - freed, 10 blocks remaining MALLOC SPY: 0x0013BF00 - freed, 9 blocks remaining MALLOC SPY: 0x0013BE90 - freed, 8 blocks remaining MALLOC SPY: 0x0013BFA8 - freed, 7 blocks remaining MALLOC SPY: 0x0013BF80 - freed, 6 blocks remaining MALLOC SPY: 0x0013BC08 - freed, 5 blocks remaining MALLOC SPY: 0x0013A8F8 - freed, 4 blocks remaining MALLOC SPY: 0x0013BBD8 - freed, 3 blocks remaining MALLOC SPY: 0x0013B340 - freed, 2 blocks remaining MALLOC SPY: 0x0013BED0 - freed, 1 blocks remaining C:\Ivan\cpp\MallocSpyTest>