flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > FASM x64 Win32 GUI Controls — Custom Draw ListView ExampleGoto page 1, 2 Next |
| Author |
|
|
Roman 13 Aug 2026, 12:47
In fasmw include\api\user32 not have SetProcessDpiAwarenessContext,GetDpiForWindow,SetWindowLongPtrW
Not exist Process32FirstW and Process32NextW in kernel32.inc i compiled example. Just writed this my hands. Last edited by Roman on 13 Aug 2026, 14:09; edited 1 time in total |
|||
|
|
revolution 13 Aug 2026, 12:54
Maybe some include missing?
Code: $ fasm -m 99999 ListView_1.7_PROCESSLIST.asm flat assembler version 1.73.31 (99999 kilobytes memory) ListView_1.7_PROCESSLIST.asm [58]: invoke SetProcessDpiAwarenessContext, DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 ~/fasm/include/win64wx.inc [10] invoke [0]: \{ \common fastcall [proc],arg \} ~/fasm/include/win64wx.inc [129] fastcall [117]: match args,list \\{ fastcall proc,args \\} ~/fasm/include/win64wx.inc [129] match [0]: match args,list \\{ fastcall proc,args \\} ~/fasm/include/macro/proc64.inc [300] fastcall [292]: call proc processed: call[SetProcessDpiAwarenessContext] error: undefined symbol 'SetProcessDpiAwarenessContext'. |
|||
|
|
Roman 13 Aug 2026, 12:57
In my projects i usualy put my FasmAPI libs folder.
To compile the example without any problems. |
|||
|
|
jochenvnltn 13 Aug 2026, 14:49
Roman wrote: In my projects i usualy put my FasmAPI libs folder. Those missing API are from user32.dll. You need to add them to your user32.inc in your FASM folder. |
|||
|
|
alCoPaUL 13 Aug 2026, 14:59
Modern Approach Is Just To Combine The Separate GUI & The Signals Processing Custom Protocol (Usually Console/String/Numeric Fuctions), but still keeping them apart..
Like you do the Presentation In Microsoft Visual Basic 6.0 and you interface the clicks, the scrolls, the whatever thing you do in the form with Microsoft's masm32 ml.exe/link.exe assembled and linked .exe files but could be an exe file handling the Digital Signals Going Through The Microsoft Visual Basic 6.0 form events or whatever.. |
|||
|
|
jochenvnltn 13 Aug 2026, 20:59
revolution wrote: Maybe some include missing? Use FASMW, and add the missing API to your user32.inc file. It should compile fine after this ! |
|||
|
|
jochenvnltn 13 Aug 2026, 21:29
@revolution : Would it be possible to create a thread called something like "FASM Win64 Controls" ?
Then every new windows control added becomes like sub thread underneath ? When you open "FASM Win64 Controls" You can just click on either "Listview", "Combobox", "listbox" etc ... |
|||
|
|
revolution 13 Aug 2026, 23:33
jochenvnltn wrote: Would it be possible to create a thread called something like "FASM Win64 Controls" ? |
|||
|
|
jochenvnltn 13 Aug 2026, 23:48
I added a right click menu to end the selected process or refresh the process list ! [Thread Updated]
|
|||
|
|
jochenvnltn 16 Aug 2026, 07:51
So any thoughts comments about the project ?
Everyone just takes the download and without saying anything just leave ? Why ? |
|||
|
|
revolution 16 Aug 2026, 08:13
jochenvnltn wrote: So any thoughts comments about the project ? If that is fixed than people will be able to try it. |
|||
|
|
Roman 16 Aug 2026, 11:19
And I commented too.
You must do folder and put in this folder asm code and kernel32.inc and user32.inc Because in standart fasmw 1.7316 not have this functions. include\api\user32 not have SetProcessDpiAwarenessContext,GetDpiForWindow,SetWindowLongPtrW Not exist Process32FirstW and Process32NextW in kernel32.inc |
|||
|
|
Roman 16 Aug 2026, 11:23
For example my project looking like this.
In folder FasmAPI i put kernel32.inc,user32.inc , directx11.inc, and some etc libs.
|
||||||||||
|
||||||||||
|
jochenvnltn 16 Aug 2026, 11:26
revolution wrote:
What are you talking about ? I said day's ago that your user32.inc is missing some API ! I told you this yesterday "Use FASMW, and add the missing API to your user32.inc file. It should compile fine after this ! " You say "When all else fails, read the source" on your profile, did you bother to google "SetProcessDpiAwarenessContext" ? Also i uploaded my own user32.inc (which has also been downloaded 11 times by now) So add the missing API to your user32.dll or use mine ! |
|||
|
|
Roman 16 Aug 2026, 11:32
jochenvnltn call Bill Geyts Apply dll functions names this is his privilege |
|||
|
|
jochenvnltn 16 Aug 2026, 11:34
Roman wrote: And I commented too. So why not add the missing API to your kernel32.inc and use my user32.inc i uploaded with the missing API yesterday ? |
|||
|
|
jochenvnltn 16 Aug 2026, 11:36
Roman wrote:
The API are already in the windows DLL's ! All you need to do is add them to kernel32.inc & user32.dll.. pff |
|||
|
|
revolution 16 Aug 2026, 11:38
Asking others to alter their fasm install isn't realistic IMO. Each time a new version of fasm installed all the changes are lost.
For good feedback it is important to make it as easy as possible for others to contribute when they have time and are willing. |
|||
|
|
jochenvnltn 16 Aug 2026, 11:46
revolution wrote: Asking others to alter their fasm install isn't realistic IMO. Each time a new version of fasm installed all the changes are lost. Like i said ... The API are already in the windows DLL's ! Can i help it that it's not in the INC files ? When you add the API's the the right INC files, the program compiles fine.. I am not going to waste my time here explaining what API INC files are and what thy do ! |
|||
|
| Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.