[omniORB] DLLified echo example

Duncan Grisby duncan at grisby.org
Mon May 23 16:24:02 BST 2005


On Monday 23 May, Gavin Uttley wrote:

[...]
> As you can see this is pretty much the same as the example with the
> addition of what to echo and the return from the servant.
> I can call the servant just fine and it returns the expected result,
> however as soon as i jump off the "return (char*)dest"
> I get a "user break point called from 0x<memory address>" when i run
> it outside the debugger i get debug assertion failed
> error with the expression _CrtIsValidHeapPointer(pUserData).
> The problem seems to be with the line that calls the servant, if i
> comment this line out it returns fine.

See the FAQ:

  http://omniorb.sourceforge.net/cgi-bin/moin.cgi/FrequentlyAskedQuestions#head-73ebd38f28a57835a014108267ecb6975ebcfa64

My feeling is that trying to integrate omniORB with Delphi is doomed to
failure because of this kind of Windows nightmare. I think you'd be much
better off using an ORB for Delphi, or even just in writing a minimal
IIOP engine yourself.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list