Can't Understand Source Code

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
1100++
Posts: 78
Joined: 10 Feb 2018, 19:05

Can't Understand Source Code

13 Jun 2019, 22:44

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?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Can't Understand Source Code

01 Dec 2019, 09:18

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.
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Can't Understand Source Code

01 Dec 2019, 13:04

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.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ByronicZero, leothlon and 116 guests