Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-07-2007
kinsung kinsung is offline
Registered User
 
Name: kinsung
Organization: AF Engineering University
Project: simulation applications remote controler, data dri
 
Join Date: Nov 2006
Posts: 6
Wrap ICE in a win32 dll problem

I write two C/S testing program, the server application receive the client's output string, and display on the screen. Slice may defined as:
void printMsg(string msg);

I wrap ICE client facilities in a Visual C++ win32 dll, and when the client application calling printMsg, sometime, it failed.

printMsg("this is a test"); //always ok
std::string strbuf;
read_file("text.txt", strbuf); //read content of "text.txt" to strbuf
printMsg(strbuf); //always ok

strbuf="this is another test";
printMsg(strbuf); //always failed

Why? I'm so confused.
__________________
kinsung
AF Engineering University

Ice projects:
simulation applications remote controler
data driver application through network

Thank you guys for your great jobs!
Reply With Quote
  #2 (permalink)  
Old 02-07-2007
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,088
There is not nearly enough information to allow me to help you with this problem. What exactly do you mean by "always failed"?
Reply With Quote
  #3 (permalink)  
Old 02-08-2007
kinsung kinsung is offline
Registered User
 
Name: kinsung
Organization: AF Engineering University
Project: simulation applications remote controler, data dri
 
Join Date: Nov 2006
Posts: 6
Sorry. but I have solved this problem after read this post:

"Invalid UTF8 string" when transer chinese chars between cpp server and csharp client

Thanks!
__________________
kinsung
AF Engineering University

Ice projects:
simulation applications remote controler
data driver application through network

Thank you guys for your great jobs!
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
Optimization for WIN32 hellocyf Comments 3 06-22-2004 11:54 PM
IcePack on Win32 amrufon Comments 1 12-23-2003 05:11 PM
mono c# on win32 panic Help Center 5 12-13-2003 08:14 PM
ICE/win32 max connections is 64!! kssreeram Help Center 1 11-03-2003 08:09 AM
IcePack with Win32? amrufon Help Center 3 08-28-2003 12:45 AM


All times are GMT -4. The time now is 12:15 AM.


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