Results 1 to 4 of 4

Thread: A strange problem under bcb2006 with ice 3.2 version

  1. #1
    qhbo is offline Registered User
    Name: bobby qu
    Organization: xiamen headsun cooperation
    Project: Traffic Signal Project
    Join Date
    Nov 2006
    Location
    China
    Posts
    14

    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.
    Mr. qhb
    A c/c++ programmer

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Before we can help you, please update your user profile with your name (first and last name), your organization, and your project.

  3. #3
    qhbo is offline Registered User
    Name: bobby qu
    Organization: xiamen headsun cooperation
    Project: Traffic Signal Project
    Join Date
    Nov 2006
    Location
    China
    Posts
    14
    Quote Originally Posted by marc View Post
    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.
    Mr. qhb
    A c/c++ programmer

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    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
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 04-23-2009, 02:15 PM
  2. version problem
    By sober in forum Help Center
    Replies: 14
    Last Post: 04-10-2008, 11:27 PM
  3. Replies: 1
    Last Post: 01-17-2006, 08:30 AM
  4. a strange problem about slice
    By kemp in forum Help Center
    Replies: 1
    Last Post: 06-08-2005, 02:08 AM
  5. Release version problem
    By fengxb in forum Help Center
    Replies: 7
    Last Post: 11-04-2004, 03:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •