Archived

This forum has been archived. Please start a new discussion on GitHub.

A strange problem under bcb2006 with ice 3.2 version

I wrte a dll with borland c++ builder 2006(update 2), and there is some functions in it to invoke Ice module function.
when I Build debug Dll version , this dll do work good.
but when i build release dll version , this dll throw follow exception when invoke the function to call proxy's method:
Outgoing.cpp:444: Ice::UnknownLocalException:
unknown local exception:
Object.cpp:292: Ice::MarshalException:
protocol error: error during marshaling or unmarshaling:
unexpected operation mode. expected = ::Ice::Normal received = unknown value (38396160)

could you help me? thanks.

Comments

  • marc
    marc Florida
    Before we can help you, please update your user profile with your name (first and last name), your organization, and your project.
  • marc wrote: »
    Before we can help you, please update your user profile with your name (first and last name), your organization, and your project.

    I have changed my profile just now. thank you very much.:)
  • bernard
    bernard Jupiter, FL
    Hello,

    The most common reason for this kind of error is a mismatch between the Slice definitions used by your client and server. So I recommend to:
    - verify that your client and server Slice definitions are identical
    - clean you client and server and make sure the generated code for the Slice files are removed
    - rebuild your client and server

    Best regards,
    Bernard