Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > TCHAR in c++ to string in java

Reply
Thread Tools

TCHAR in c++ to string in java

 
 
Bobby
Guest
Posts: n/a
 
      12-14-2004
Hi-

I am developing a file transfer application, in which the host is
written in c++ and the client is written in java,the host will sends
the information through the stream to the client.

The host uses the win32_find_data, which will retrieve the file
information and sends it to the client, when reading the data from the
stream at client side there are some unwanted blocks. I think the
problem is at the client side when reading the filename which is the
variable of the structure win32_find_data, the fileName variable is of
type TCHAR at the host side, and how can i process it at the client
side?

Should I use the charsetDecoder at the client side??? if so how can i
do that??

Thanks in advance,
dwurity

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What to prefer - TCHAR arrays, std::string or std::wstring ? rohitpatel9999@yahoo.com C++ 14 08-03-2006 06:42 PM
Trim Left char tchar[64] muroogan@gmail.com C++ 4 02-02-2005 10:09 PM
TCHAR in c++ to string in java dwurity@yahoo.com Java 7 12-14-2004 05:49 PM
std::wstring, TCHAR, wchar_t and LPTSTR sorty C++ 4 11-25-2003 11:05 AM
string to const TCHAR problems ree C++ 7 10-19-2003 10:17 AM



Advertisments