Re: Catch exception from external library

2011-08-11 Thread Callum Anderson
Ok thanks for the help, wasn't sure if I was missing something obvious. Cheers, Callum

Re: Catch exception from external library

2011-08-11 Thread Callum Anderson
Thanks, SIGSEGV was a brain malfunction on my part sorry. The error was SIG Unhandled Exception. And I should have said I was calling a C-Api layer on a C++ library. Does that change anything? Thanks again, Callum

Catch exception from external library

2011-08-10 Thread Callum Anderson
Hi, Is there any way to catch unhandled exceptions thrown by external libraries? I am calling an external C library function, which works fine in release mode, however in debug mode it throws a SIGSEV. I would like to debug later parts of the code, but can;t get past this function when debugging

Subclass template arguments from a non-templated interface

2011-08-08 Thread Callum Anderson
I have the following (sort of) situation: interface Handle { } class A(T...) : Handle { T[0] m_one; T[1] m_two; etc.. T[0] getOne() { return m_one; } } class B { Handle[] m_array; } The reason I want to inherit A from Handle is so I don't have to keep using the variadic