_tmain?

  • Thread starter Thread starter Craig Powell
  • Start date Start date
C

Craig Powell

Hello,

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

Craig
 
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
 
Back
Top