[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling C++ from IDL - throwing exceptions

You may want to consider getting Ron Kling's new book on calling C code
from IDL as he does a nice job of describing DLMs and error trapping with
them.  I think you will end up needing to write C wrappers around your c++
in any case.  Ron's book is available at: http://www.rlkling.com/

The DLM documentation for RSI is adequate as a reference for IDL type
structures and internals, but don't expect it to be much help when you are
just starting out!


Ugo_DiGirolamo@InVision.iip.com writes:
> I'm planning to use IDL as a front end for a C++ dll with call_external.
> However I couldn't find any way of handling in IDL an exception thrown
> from the C++ code.
> I was wondering if anyone have an idea about it (also if to confirm
> that it's impossible!) or if the DLM way would work better.
> However, I've no real idea about what DLM is and I found really little
> clue on it in the RSI documentation.
> cheers