Hello,
Here is a bare bone 64-bit example displaying a window. The code is reviewed to be compatible with Poasm Version 13. A dialog example will come later.
Cool stuff, thanks Vortex! I want to get into assembly with Poasm, and this is a super cool jumping off point. And the binary is just 3 KB!
Quote from: Quin on April 27, 2025, 11:50:19 PMCool stuff, thanks Vortex! I want to get into assembly with Poasm, and this is a super cool jumping off point. And the binary is just 3 KB!
Actually C can made small prorams too without crt or with crt from dll.
A x64 have more standard sections in exe, so size starts from 4 kb without tricks.
Just use pope.exe to check those things.
Quote from: TimoVJL on April 28, 2025, 04:42:00 PMQuote from: Quin on April 27, 2025, 11:50:19 PMCool stuff, thanks Vortex! I want to get into assembly with Poasm, and this is a super cool jumping off point. And the binary is just 3 KB!
Actually C can made small prorams too without crt or with crt from dll.
A x64 have more standard sections in exe, so size starts from 4 kb without tricks.
Just use pope.exe to check those things.
Quite true, if you want a really lean and mean executable, use only the Windows API with no CRT :)
Hello,
Here is a basic dialog box example displaying two buttons and a menu.
Here is the 32-bit version of the window example.
Dialog box example enhanced with the statement cinclude :
CINCLUDE directive (IA32, AMD64)
Purpose:
Parses a C include file, looking for #define statements.