Re: newbie help
- From: "Tom Serface" <tom.nospam@xxxxxxxxxxxxx>
- Date: Mon, 2 Jul 2007 13:11:09 -0700
Hi Rod,
In addition to what Igor posted, you will also want to use TCHAR instead of char and the appropriate string functions that also start with _t... like:
http://msdn2.microsoft.com/en-us/library/kk6xf663(VS.80).aspx
If you use these macros you will be able to compile your program either for ANSI or Unicode (for the most part) so it's a good idea to just get in the habit of using them rather than just typing in the strings.
I'm building all my new projects in Unicode these days so it likely doesn't matter for that except that it's almost as easy to type _T("Text") as it is to type L"Text" so ...
Tom
"rodchar" <rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:1FE7868C-433F-4E33-82CC-555541B445F6@xxxxxxxxxxxxxxxx
Thanks for that, another question if I may...
What is _T macro?
"Igor Tandetnik" wrote:
rodchar <rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Win95 was 16-bit?
No, but VC++ 1.0 is. VC++ 1.0 builds executables for DOS and Win3.1. It
cannot build a Win32 executable (mainly because it predates Win32 by a
few years).
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- Re: newbie help
- From: rodchar
- Re: newbie help
- From: Igor Tandetnik
- Re: newbie help
- Prev by Date: Re: newbie help
- Next by Date: Re: How can i get icon from IconCache.db?
- Previous by thread: Re: newbie help
- Next by thread: problem in HW_PROFILE_INFO
- Index(es):
Relevant Pages
|