This is an old issue that I (we) still haven't resolved.
A few of my 700 installations get C5 fatal exception errors almost continuously. Done a huge amount of debugging and have isolated the problem to two forms contained in page frames that use DBI ctTree control.
If my clients don't activate these forms - No problems. Once they do, when they Close the form (the one that includes pageframe/ctTree controls), activate another form, and then try and reactivate the first form ... Crash !!! Fatal exception c5.
I've talked to DBI and they suggested reinstalling the MFC dll's (msvcrt.dll, mfc42.dll) which we did. This did not help.
Oh - also, If we remove the ctTree controls, everything works fine.
I'd like to avoid rewriting this code ( using MS treeview) if possible... Anyone ever seen anything like this ?
Any ideas GREATLY appreciated.
TIA
Puritanism - The secret fear that someone, somewhere is having fun.