Page 1 of 1

Can't Understand Source Code

Posted: 13 Jun 2019, 22:44
by 1100++
I downloaded the source code and performed a search through it, but I can't seem to find a main() method. Am I missing something?

Re: Can't Understand Source Code

Posted: 01 Dec 2019, 09:18
by swagfag
https://github.com/Lexikos/AutoHotkey_L/blob/master/source/AutoHotkey.cpp#L31
WinMain wrote:The user-provided entry point for a graphical Windows-based application.

Re: Can't Understand Source Code

Posted: 01 Dec 2019, 13:04
by jeeswg
Great info, thanks swagfag.

c++ - "APIENTRY _tWinMain" and "WINAPI WinMain" difference - Stack Overflow
https://stackoverflow.com/questions/4681443/apientry-twinmain-and-winapi-winmain-difference
_tWinMain is just a #define shortcut in tchar.h to the appropriate version of WinMain.