Home Help Center

A strange problem under bcb2006 with ice 3.2 version

qhboqhbo Member bobby quOrganization: xiamen headsun cooperationProject: Traffic Signal Project
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

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Before we can help you, please update your user profile with your name (first and last name), your organization, and your project.
  • qhboqhbo Member bobby quOrganization: xiamen headsun cooperationProject: Traffic Signal 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.:)
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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
Sign In or Register to comment.