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: 3449
Location: vpcmipstrm
bitRAKE
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: 869 Time(s)

TaskDlg.png



_________________
¯\(°_o)/¯ unlicense.org
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
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: 3449
Location: vpcmipstrm
bitRAKE
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
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.