Search notes:

Windows CRT: tchar.h

tchar.h contains definitions for generic international text functions.

_tmain and _tWinMain

Depending on the value of _UNICODE, tchar.h defines _tmain and _tWinMain etc:
#ifdef _UNICODE

   #define  _tmain       wmain
   #define  _tWinMain    wWinMain
   #define  _tenviron   _wenviron
   #define __targv     __wargv

#else

   #define  _tmain       main
   #define  _tWinMain    WinMain
   #define  _tenviron   _environ
   #define __targv     __argv

#endif

See also

Creating ANSI and UNICODE versions of Windows programs in c
Some CRT sources

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759398036, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/development/CRT/source/tchar_h(61): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78