flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > [fasmg] Task Dialog Samples:

Author
Thread Post new topic Reply to topic
bitRAKE



Joined: 21 Jul 2003
Posts: 4075
Location: vpcmpistri
bitRAKE 28 Mar 2022, 17:09
Using git for assembly programs feels like hanging pictures with a sludge-hammer. Yet, I've been trying to learn the interface a little here-and-there.

https://github.com/bitRAKE/fasmg-TaskDialog

Task Dialog structures are packed in Win64 - which is rare. So, it's good to have some examples. Luckily, Kenny Kerr created a wonderful demo in C++. So, I didn't put any thought into what to code - just how to code. Some changes were made where it made the example more demonstrative or explanatory.

Enjoy.


Description:
Filesize: 26.99 KB
Viewed: 4319 Time(s)

TaskDlg.png



_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 28 Mar 2022, 17:09
View user's profile Send private message Visit poster's website Reply with quote
HSE



Joined: 13 Jan 2019
Posts: 15
HSE 29 Mar 2022, 15:04
Hi bitRAKE!

For sure I'm making something wrong:
Code:
flat assembler  version g.jmhx
TaskDlgSamples.asm [18] eval [1] samples\CommonButton.inc [19]:
        TaskDialogIndirect ADDR .cfg,ADDR .selectedButtonId,ADDR .selectedRadioButtonId,ADDR .verificationChecked
? [11] ? [3]
Processed: TaskDialogIndirect ADDR .cfg,ADDR .selectedButtonId,ADDR .selectedRadioButtonId,ADDR .verificationChecked
Error: illegal instruction.    


Thanks in advance, HSE
Post 29 Mar 2022, 15:04
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4075
Location: vpcmpistri
bitRAKE 29 Mar 2022, 15:42
You'll need the comctl32.inc from here:
https://board.flatassembler.net/topic.php?p=221524#221524

I should probably include that in the repo.
It needs to replace the \fasmg\packages\x86\include\api\ file of the same name.
Post 29 Mar 2022, 15:42
View user's profile Send private message Visit poster's website Reply with quote
HSE



Joined: 13 Jan 2019
Posts: 15
HSE 29 Mar 2022, 20:01
Perfect. Thanks.
Post 29 Mar 2022, 20:01
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.