Hello aditya kumar pandey,
> Modified bit of my code:
> OUString oStr = OUString::createFromAscii("foo.Counter");
> try
> {
> throw (com::sun::star::uno::Exception());
> //also tried
> // throw (com::sun::star::uno::Exception(oStr,xMgr));
> }
> catch (com::sun::star::uno::Exception& e)
> {
> }
> catch (...)
> {}
Looks strange, because there is still no inter-language part involved
(UNO bridging). Does the (unmodified) counter example compile and run
successfully?
Seems that even simplest exception handling does not work on your
compiler. Have you tried to write a simple program (without linking
against any SDK libraries) throwing your own exception type, e.g.
#include <stdio.h>
struct MyExc {};
int main()
{
try {
throw MyExc();
}
catch (MyExc &) {
printf("caught\n");
}
return 0;
}
-Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]