C++ gives japanese text not english

norman1312
norman1312 used Ask the Experts™
on
I am trying to write my first Win32 application using Microsoft Visual C++ 2010 Express Edition.
However instead of getting "Hello World" I am getting what looks like Japanese text in the window.
What am I doing wrong? I thought I was getting "Hello World"
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Panic over. Apparently I was using TextOutW (or so).instead of TextOutA. That makes all the difference

Author

Commented:
Using wrong routine. This is the first time I have come up against Unicode and ANSI options.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial