View Single Post
  #1 (permalink)  
Old 08-01-2003
amrufon's Avatar
amrufon amrufon is offline
Registered User
 
Name: Alex
Organization: IST
Project: jDatabase
 
Join Date: May 2003
Location: Manila, Philippines
Posts: 96
Send a message via Yahoo to amrufon
-->
Using Char* with SLICE

Hi.

Need some help. Because of the nature of some libraries I have to call with ICE, I had to make a slice script this way:
Quote:
interface jSockets
{
char* jclCommand(char* command);
};
Slice complained that it doesnt know "char*". How do I convert a char* to ::std::string and back? Is there another way?

Thanks for the help.

Alex
Reply With Quote