Improve company productivity with a Business Account.Sign Up

x
?
Solved

C++ gives japanese text not english

Posted on 2011-09-06
2
Medium Priority
?
229 Views
Last Modified: 2012-05-12
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"
0
Comment
Question by:norman1312
  • 2
2 Comments
 

Accepted Solution

by:
norman1312 earned 0 total points
ID: 36495089
Panic over. Apparently I was using TextOutW (or so).instead of TextOutA. That makes all the difference
0
 

Author Closing Comment

by:norman1312
ID: 36495094
Using wrong routine. This is the first time I have come up against Unicode and ANSI options.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
Watch the working video to know how to import Outlook PST/OST files to Amazon WorkMail. Kernel released this tool which is very easy to use and migrate single or multiple PST and OST files to Amazon WorkMail. To know more about Kernel Import PST to …

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question