muwpa

Error on PB quit

Discussion created by muwpa on Oct 31, 2011

Hi all,

 

I'm having a problem with my PB AddIn (written in VS2010, c#). I've used the VS2010 template for the docking window (provided in the download section on vcampus). Unfortunately I get an entry in the Win event log during the quit of PB like this: (translated from german to english)

 

Source:        Application Error
Date:         31.10.2011 12:53:05
Event ID:   1000
Description:
Source: Procbook.exe, Version: 3.2.0.0, Timestamp: 0x4a978510
Module: MFC80.DLL, Version: 8.0.50727.4053, Timestamp: 0x4a59591a
Exceptioncode: 0xc0000005
Error offset: 0x00090d5c
Path of incorrect Application: C:\Program Files (x86)\PIPC\Procbook\Procbook.exe

 

Path of incorrect module: C:\Windows\WinSxS\x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.4053_none_cbf21254470d8752\MFC80.DLL

 

I have debugged this AddIn several times without getting an exception, especially the "OnDisconnection" and "Dispose" functions. I get the entry in the Win event log after 1-2 secs after the last line of code is debugged. I used try-catch statements in this functions to catch possible exceptions, I also removed all the custom event handlers from the Application (which are added on the AddIn start), I have output in every function at start and end point. I'm running out of ideas to handle this...

 

I hope you'll have some suggestions for me. Thanks for your participation!

 

PS: I'm using VS 2010 c# and ProcessBook 3.2.0.0.

Outcomes