ArcMap crashes on Close with custom toolbar

2484
1
Jump to solution
08-30-2013 10:44 AM
OlivierVoyer
New Contributor II
Hello,

I've created a custom toolbar for ArcMap 9.2 32- bits on Windows 7 64-bits that works very well. The problem is, when I close ArcMap, I receive a Run-Time error message that pops up then disappears. If I look in the Event Viewer I find this message:

Faulting application name: ArcMap.exe, version: 9.2.0.1324, time stamp: 0x452f1cc3
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Exception code: 0xc0000005
Fault offset: 0x0004ff2b
Faulting process id: 0x260
Faulting application start time: 0x01cea5aecbc73f26
Faulting application path: C:\Program Files (x86)\ArcGIS\Bin\ArcMap.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 1f9919c6-11a2-11e3-8a60-bcaec5b2a631


Any idea what I'm doing wrong?

Regards,
0 Kudos
1 Solution

Accepted Solutions
OlivierVoyer
New Contributor II
Problem solved. I noticed the following error when closing ArcMap: R6025 Pure Virtual Function Call. I found out that many COM objects in my project were not released properly. I used ComReleaser.ReleaseCOMObject(myObject) and eveything is fine now.

View solution in original post

0 Kudos
1 Reply
OlivierVoyer
New Contributor II
Problem solved. I noticed the following error when closing ArcMap: R6025 Pure Virtual Function Call. I found out that many COM objects in my project were not released properly. I used ComReleaser.ReleaseCOMObject(myObject) and eveything is fine now.
0 Kudos