Pelles C forum

Assembly language => Assembly discussions => Topic started by: Vortex on April 27, 2025, 09:16:24 PM

Title: Basic GUI templates
Post by: Vortex on April 27, 2025, 09:16:24 PM
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.
Title: Re: Basic GUI templates
Post by: Quin on April 27, 2025, 11:50:19 PM
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!
Title: Re: Basic GUI templates
Post by: TimoVJL on April 28, 2025, 04:42:00 PM
Quote from: Quin on Yesterday at 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.
Title: Re: Basic GUI templates
Post by: Quin on April 28, 2025, 04:51:12 PM
Quote from: TimoVJL on Today at 04:42:00 PM
Quote from: Quin on Yesterday at 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 :)