[omniORB] Sequence problem when upgrading omniORB
Anders Werholt
anders at werholt.se
Mon May 15 10:22:11 BST 2006
Thanks for leading me in the right direction. For some reason i was using
the runtime library 'Multi-threaded' instead of 'Multi-threaded DLL'.....
After changing that it all works fine.
Best regards
Anders Werholt
----- Original Message -----
From: "Duncan Grisby" <duncan at grisby.org>
To: "Anders Werholt" <anders at werholt.se>
Cc: <omniorb-list at omniorb-support.com>
Sent: Friday, May 12, 2006 1:34 PM
Subject: Re: [omniORB] Sequence problem when upgrading omniORB
> On Friday 12 May, "Anders Werholt" wrote:
>
>> I have some problems trying to upgrade an old omniOrb 2.7.1 project
>> (VC++6) to omniORB 4.0.7 (VC++7).
>> Some functions are working, others are not.
>> Func1 below is working (returns a sequence of short).
>> Func2 below is not working as it did before (returns a sequence of a
>> complex struct). The client gets the result, but at the same time the
>> server crashes with the following error:
>> HEAP[xxx.exe]: Invalid Address specified to RtlValidateHeap( 003C0000,
>> 0052BA30 )
>> Unhandled exception at 0x7c901230 in xxx.exe: User breakpoint.
>
> This is almost certainly due to mixing code with different debug
> options. Make sure everything, including the omniORB libraries, is
> compiled with the same options. In particular, make sure you are using
> the debug omniORB libraries if your application code is compiled with
> debugging.
>
> Cheers,
>
> Duncan.
>
> --
> -- Duncan Grisby --
> -- duncan at grisby.org --
> -- http://www.grisby.org --
More information about the omniORB-list
mailing list