[omniORB] Got a small problem ... any idea

Bruce Fountain B_Fountain@motherwell.com.au
Tue, 6 Nov 2001 08:14:09 +0800


Antoine Thierry wrote:
> i developp a server/client application
> Server side, Linux, OmniOrb, C++
> Client side, Windows, visibroker, Delphi
> 
> when i return an empty string to the client, a get on the it :
> acces violation at adress <xxxxxx> in module cp3245mt.dll  : 
> writing adress 
> 0000000

You are following a NULL pointer, which is a Bad Thing.
Probably your "empty" string is actually NULL - are you
setting your return value properly?
eg:
   char* result = CORBA::string_dup("");
   return result;

Bruce Fountain