[omniORB] Fw: (by abcluo@163.com)use sequence<struct> problem ?

Clarke Brunt clarke.brunt at trafficmaster.co.uk
Mon Oct 16 18:49:18 BST 2006

> ...
> Now I use data sequence,but have the problem :
> ...

After looking briefly, I can't see anything wrong with the code.

Is there any possibility that you are mixing up debug/release builds of
your own code and omniORB. Or other different versions of the run time
library. With VC6, you had to choose Debug (or Release) Multi-threaded
DLL is the version in order to match the one that omniORB was linked

If the run time library doesn't match, then you can get problems where
omniORB has allocated memory using one version of the heap, and your
code tries to delete the memory using a different version.

This doesn't fully explain why it might work with longs but not with
structures though.

Clarke Brunt, Principal Software Engineer, Trafficmaster

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

More information about the omniORB-list mailing list