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)
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!