flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
FoZZiE 26 Jan 2007, 22:00
Basically I decided to start learning asm a few days ago and as a learning task I chose to make a calculator as it seemed quite a basic program. I already know c++ so API calls aren't a problem and neither is the GUI. I'm trying to use GetDlgItemInt to get the number input in each of the 2 text boxes but it won't work. I've been doing some debugging with ollydbg and the correct control ID is set when the window is created and it matches the control ID made in the API call but it returns an error of control ID not found. I have been running through this code for hours now and I just can't see why it isn't working. The, probably quite badly coded, source code is attached. Can anyone help me with this please?
|
|||||||||||
![]() |
|
FoZZiE 26 Jan 2007, 22:36
![]() ![]() ![]() |
|||
![]() |
|
LocoDelAssembly 26 Jan 2007, 23:18
BTW, consider creating the dialog like the DIALOG example included in the package instead of doing it manually or use another tool for creating the dialog and RES file and then use "section '.rsrc' data readable resource from 'my.res'".
PS: The documentation for creating dialog resources is http://flatassembler.net/docs.php?article=win32 |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.