G
Guest
VS2005 - VC++/MFC: most modules compiled as native. Two modules compiled as
/clr (managed). One of these two modules uses a .NET C# Windows form User
control in an MFC dialog box.
The program seems to run fine, but crashes when I exit.
The same crash occurs even if I immediately exit when the program window
opens.
I have reproduced the problem on two development systems. While the final
error is different on the two systems, is different, it occurs in the same
general area. I have tracked the code to MINTERNAL.H,
ModuleUninitializer::SingletonDomainUnload(). It is using a C++ for each
statement to iterate through a collection of handlers presumably to unload
the modules of the program. It is possible that this collection has gotten
corrupted.
Help! I think I am in over my head with this problem.
Thanks,
Jim
/clr (managed). One of these two modules uses a .NET C# Windows form User
control in an MFC dialog box.
The program seems to run fine, but crashes when I exit.
The same crash occurs even if I immediately exit when the program window
opens.
I have reproduced the problem on two development systems. While the final
error is different on the two systems, is different, it occurs in the same
general area. I have tracked the code to MINTERNAL.H,
ModuleUninitializer::SingletonDomainUnload(). It is using a C++ for each
statement to iterate through a collection of handlers presumably to unload
the modules of the program. It is possible that this collection has gotten
corrupted.
Help! I think I am in over my head with this problem.
Thanks,
Jim