[omniORB] What is wrong here ?

Vasily Tchekalkin Bacek at yandex-team.ru
Tue Oct 28 15:13:40 GMT 2003


Ali Reza wrote:

>     cout <<"IOR is " << str << endl;
> ...
> 
> The output I get is:
> IOR is 002F4F28
> 
> No exceptions are caught ! Its funny isn't it ?

Your code is right. Except last line. Try use
out <<"IOR is " << str.in() << endl; It is because CORBA::String_var is 
kind of smart pointer not the "real" string.



-- 
Vasily Tchekalkin
Yandex development team.




More information about the omniORB-list mailing list