Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-10-2004
Clarke Fang Clarke Fang is offline
Registered User
 
 
Join Date: Nov 2004
Posts: 2
Question ice and ace thread conflict

I write the following codes and complied by Microsoft Visual C++ .net 7.1. when running , the program crashed.

When I does not use Ice::Application class , and only use ICE thread manager , no problem.

How can I avoid this.

Thanks
Attached Files
File Type: txt main.txt (635 Bytes, 271 views)
Reply With Quote
  #2 (permalink)  
Old 11-10-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,772
I don't know much about ACE, so I can only give general advice. Perhaps the ACE and the Ice libraries are not compiled with the same set of compile and linker flags? For example, all your code should either be debug or all of it should be release mode. There are also problems if you mix statically linked code with DLLs, so you should use ACE in a DLL, too.
Reply With Quote
  #3 (permalink)  
Old 11-10-2004
Clarke Fang Clarke Fang is offline
Registered User
 
 
Join Date: Nov 2004
Posts: 2
ice and ace thread conflict

Thanks.

I'll try it.
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
Two function conflict ? rc_hz Comments 4 11-30-2006 10:37 AM
where to invoke the new Thread in AMD vijaykrishna Help Center 1 06-16-2005 05:31 AM
is it a bug or conflict ? fw_csha Help Center 2 05-20-2005 08:50 AM
a thread problem fw_csha Help Center 2 05-15-2005 05:41 AM
Ice::Thread and GUI with Qt catalin Help Center 5 09-08-2004 10:20 AM


All times are GMT -4. The time now is 07:19 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.