I develop an application and use VC++ 6 and the COM OIP Interface. My problem is, how can I catch an exception before I get the error “KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception” like as OO4O ?
This is a short part of code as an example.
if (CLSIDFromProgID(OLESTR("OracleInProcServer.XOraSession"), &clsid) != NOERROR)
if (!oSession.CreateDispatch(clsid, &e))
oDatabase = oSession.GetOpenDatabase(dbname,cAccount,options);
When I use the right account information, all is well. When I use bad account information I get an exception and can catch and handle this, but first I get the kernel message.
When I use the library from oo4o and do the same, I can catch the exception without the kernel message.
What is wrong or what is missing?
Thanks for your Help
Message was edited by: