_tmain?

C

Craig Powell

Hello,

What is _tmain()? How is it different from main()? Where
my I find documentation about _tmain()?

Craig
 
J

Jochen Kalmbach

Craig said:
What is _tmain()? How is it different from main()? Where
my I find documentation about _tmain()?

_tmain is the "tchar.h" version of "main" respectivly "wmain"

It is used if you want to build unicode and/or MBCS/ANSI builds of your
app.

For more info see:
Routine Mappings
http://msdn.microsoft.com/library/en-us/vclib/html/
_crt_routine_mappings.asp

Generic-Text Mappings in TCHAR.H
http://msdn.microsoft.com/library/en-us/vccore/html/
_core_Generic.2d.Text_Mappings_in_TCHAR..H.asp

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top