Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-13-2007
qhbo 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
Reply With Quote
  #2 (permalink)  
Old 06-13-2007
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Before we can help you, please update your user profile with your name (first and last name), your organization, and your project.
Reply With Quote
  #3 (permalink)  
Old 06-13-2007
qhbo 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
Reply With Quote
  #4 (permalink)  
Old 06-13-2007
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Very, very strange problem with Ice-based applications! timeguest Help Center 1 01-17-2006 09:30 AM
a strange problem about slice kemp Help Center 1 06-08-2005 03:08 AM
the different between debug version and release version huaciom Help Center 1 04-05-2005 04:18 AM
Strange results when I test ICE Yunqiao Yin Bug Reports 5 03-29-2005 04:20 PM
Release version problem fengxb Help Center 7 11-04-2004 04:21 AM


All times are GMT -4. The time now is 10:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.