Ice 3.4.1
Embarcadero C++ Builder XE (= C++ Builder 2010)
Windows XP Service Pack 3
Hi,
There's an annoying bug in Embarcadero C++ Builder XE.
(QualityCentral)
It causes Ice client program crash in certain situations.
Workarounds do fix the the problem, but the real problem is that crash takes place in the code generated by Ice.
In my case, the program crashes if generated code is in a library (.lib).
If code is linked directly to the program, it doesn't crash.
How to fix this?
This is my (ugly shortened) slice file:
module ouMExceptions {
exception MsgException2 {
long Excno;
string Text ; } ; } ;
module MUdi {
interface IUdiUser {
string doOperation( string strOperationName, string strParamerBag )
throws ouMExceptions::MsgException2 ; } ; } ;
This code crashes:
try
{
__og.throwUserException(); // This throws ...
}
catch(const :uMExceptions::MsgException2& e)
{
throw; // This crashes
}
-Jukka
P.S.
Sorry about my possibly poor english (finglish)

uMExceptions::MsgException2& e)
Reply With Quote