flat assembler
Message board for the users of flat assembler.
Index
> Windows > RegisterHotkey |
Author |
|
coconut 24 Feb 2005, 05:22
paste your import section here?
|
|||
24 Feb 2005, 05:22 |
|
Razneb 24 Feb 2005, 05:25
Here it is.
Code: section ".idata" import data readable writeable library KERNEL32,"KERNEL32.DLL",\ USER32,"USER32.DLL",\ GDI32,"GDI32.DLL" import GDI32,\ CreateFont,"CreateFontA" import KERNEL32,\ GetModuleHandle,"GetModuleHandleA",\ OpenProcess,"OpenProcess",\ WriteProcessMemory,"WriteProcessMemory",\ ReadProcessMemory,"ReadProcessMemory",\ CloseHandle,"CloseHandle",\ ExitProcess,"ExitProcess" import USER32,\ FindWindow,"FindWindowA",\ GetWindowThreadProcessId,"GetWindowThreadProcessId",\ SendMessage,"SendMessageA",\ MessageBox,"MessageBoxA",\ RegisterClass,"RegisterClassA",\ CreateWindowEx,"CreateWindowExA",\ DefWindowProc,"DefWindowProcA",\ ShowWindow,"ShowWindow",\ LoadCursor,"LoadCursorA",\ LoadIcon,"LoadIconA",\ GetMessage,"GetMessageA",\ TranslateMessage,"TranslateMessage",\ DispatchMessage,"DispatchMessageA",\ RegisterHotkey,"RegisterHotkey",\ UnregisterHotkey,"UnregisterHotkey",\ PostQuitMessage,"PostQuitMessage" |
|||
24 Feb 2005, 05:25 |
|
revolution 24 Feb 2005, 07:17
RegisterHotKey,"RegisterHotKey",\
Use a capital "K" |
|||
24 Feb 2005, 07:17 |
|
liteonish 24 Feb 2005, 13:01
Umm... A bit offtopic, but I've read that even if you include the whole damn library FASM only actually includes the parts that your exe needs. If that's true, isn't there no point to including every string separately?
_________________ I just own that much. |
|||
24 Feb 2005, 13:01 |
|
JohnFound 24 Feb 2005, 13:21
liteonish wrote: Umm... A bit offtopic, but I've read that even if you include the whole damn library FASM only actually includes the parts that your exe needs. If that's true, isn't there no point to including every string separately? Yes, there is no point, but visibly the people like to build its import tables manually or simply don't like to read the macro definitions... Regards. |
|||
24 Feb 2005, 13:21 |
|
gumletis 25 Feb 2005, 07:58
Also if you include manuelt, you can import from other librarys them you not normaly do with, fx your own....
|
|||
25 Feb 2005, 07:58 |
|
crc 25 Feb 2005, 11:31
Quote: Umm... A bit offtopic, but I've read that even if you include the whole damn library FASM only actually includes the parts that your exe needs. If that's true, isn't there no point to including every string separately? I import the parts I need manually for two reasons. First, I use a scaled down, slightly customized version of the macros. Secondly, it helps those reading my source to see exactly what functions I'm actually using. |
|||
25 Feb 2005, 11:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.