I am migrating my VC++ 6.0 Application to Visual Studio 2005 for windows 7.Successfully i have migrated my application to Visual studio 2005 without any errors. But It throws an Exception Messagebox " Invalid Argument was encountered" while loading the application.Otherwise the application is working fine.The messagebox pops up everytime while opening the application.I have googled and tried out a lot of methods to identify the problem.But I can't.I got the below message in output window while debugging,
First-chance exception at 0x7589d36f in Usecpol.exe: Microsoft C++ exception: CInvalidArgException at memory location 0x0012ed50..
Is there any way to suppress the message box???
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)