I could do that, code both applications in C++, but it would take a lot of time, just to get a simple windows form for the server.
And going with C# is not really a good choice, because it requires the .Net Framework. You're saying .Net 2.0 is already included on Vista and later, it is. But not 2.0; 3.0 if I'm not mistaken.
Source
"3.0 3.0.4506.30 6 November 2006 Expression Blend Windows Vista, Windows Server 2008"
And I am thinking of Windows XP, and even though you say it is waning, there are still some people who use it.
The main reason why I moved from C# to C++ was because of the .Net Framework. It has "haunted" me, like it does to every .Net programmer.
I think I'll try to do things the hard/faster way:
Not all of my clients will be Portuguese, so it kind of rules out that solution.
I'm tempted to convert the char array to UTF16/Unicode like you said.
----------
Well, what I did was, I converted the whole C++ project to UNICODE and modified the C# code to this:
string data = System.Text.Encoding.Unicode.GetString(bytes, 0, read);
Now it all works. Thank you both very much

New Topic/Question
Reply




MultiQuote


|