Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-01-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
Release version problem

Hi,

I suffered a strange problem about the release version of my application. The application provides a method in which a statement is a call to libxml's function. It works fine in debug mode but a duplicate calling to the method of the application occurs when the libxml's function is called in release mode.

Is ICE incompatible with libxml in release mode?

Regards,
__________________
Fengxb
Reply With Quote
  #2 (permalink)  
Old 11-02-2004
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
Which libxml library is this? And what compiler are you using? If you are using Visual C++, then you must make sure that you use a release version of libxml together with a release version of Ice. I.e., you cannot mix debug and release libraries with Visual C++.
Reply With Quote
  #3 (permalink)  
Old 11-02-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
I recompiled LibXML with new configure file. The attachment is the configure file.
Attached Files
File Type: txt config.msvc.txt (922 Bytes, 126 views)
__________________
Fengxb
Reply With Quote
  #4 (permalink)  
Old 11-03-2004
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: 816
If possible, I'd recommend to use /MD instead of /MT when building this DLL. All Ice DLLs are built with /MD (release) or /MDd (debug).

Cheers,
Bernard
Reply With Quote
  #5 (permalink)  
Old 11-03-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
Yes, I modify the configure but still failed. The new configure file is attached.
Attached Files
File Type: txt config.msvc.txt (918 Bytes, 126 views)
__________________
Fengxb
Reply With Quote
  #6 (permalink)  
Old 11-04-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
I have resolved the problem. Thanks a lot for your suggestions.
__________________
Fengxb
Reply With Quote
  #7 (permalink)  
Old 11-04-2004
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 912
Could you let us know what the problem actually was? It would be useful in case someone else comes across this too.

Thanks,

Michi.
Reply With Quote
  #8 (permalink)  
Old 11-04-2004
fengxb's Avatar
fengxb fengxb is offline
Registered User
 
Name: feng xuebin
Organization: jiexin tech
Project: scientific calculation
 
Join Date: Aug 2003
Location: R.P.China
Posts: 78
Of course. Maybe I can upgrade to senior member .

I modified the config.msvc. Set 'WITH_THREADS' to 'yes'. Set 'DEBUG' to '0'. Set 'CRUNTIME' to '/MD'. That's all.

Regards,
__________________
Fengxb
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
MacOS version wants to be in /opt ctennis Bug Reports 4 07-05-2006 09:02 AM
How can I get the old version ICE? zqone Help Center 1 04-14-2005 12:24 AM
the different between debug version and release version huaciom Help Center 1 04-05-2005 04:18 AM
Possible bug in slice2cs version 1.5 wodi Bug Reports 3 07-27-2004 11:06 PM
about release version simpley Help Center 5 07-13-2004 10:18 AM


All times are GMT -4. The time now is 04:52 PM.


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.