Discussion:
WinInet and Unicode
(too old to reply)
Jonathan Wood
2007-08-16 01:55:51 UTC
Permalink
I can't seem to get some code working when I build with Unicode. Otherwise,
it seems to work.

After calling InternetReadFile(), I can just convert it to Unicode. But
something in the WinInet connection and open routines isn't working. I get a
message that my user name and password are invalid in the Unicode build.

What's the trick to using WinInet in a Unicode application?
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Jonathan Wood
2007-08-16 03:43:37 UTC
Permalink
Nevermind. I had some conversion issues and there okay now.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Post by Jonathan Wood
I can't seem to get some code working when I build with Unicode. Otherwise,
it seems to work.
After calling InternetReadFile(), I can just convert it to Unicode. But
something in the WinInet connection and open routines isn't working. I get
a message that my user name and password are invalid in the Unicode build.
What's the trick to using WinInet in a Unicode application?
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Vladimir Scherbina [MVP]
2007-08-17 18:59:04 UTC
Permalink
FYI: wininet is mostly ansi based, unicode functions just call their ansi
equivalents, so there should not be any differences ...
--
Vladimir, Windows SDK MVP
http://msmvps.com/blogs/v_scherbina/
Post by Jonathan Wood
Nevermind. I had some conversion issues and there okay now.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Post by Jonathan Wood
I can't seem to get some code working when I build with Unicode.
Otherwise, it seems to work.
After calling InternetReadFile(), I can just convert it to Unicode. But
something in the WinInet connection and open routines isn't working. I
get a message that my user name and password are invalid in the Unicode
build.
What's the trick to using WinInet in a Unicode application?
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Loading...