_tmain is a windows macro/extension or the ms version of the standard main() function found in c++.
The sample function from the link above and shown below... calls the code:
Code: Select all
void _tmain(int argc, TCHAR *argv)
if(argc != 2)
_tprintf(TEXT("Usage: %s <dir>\n"), argv);
WatchDirectory(argv); <<<<---calls the code
How can I implement this _tmain function in my wx code which doesn't appear to have a main function as such?