flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
coconut 24 Feb 2005, 05:22
paste your import section here?
|
|||
![]() |
|
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" |
|||
![]() |
|
revolution 24 Feb 2005, 07:17
RegisterHotKey,"RegisterHotKey",\
Use a capital "K" |
|||
![]() |
|
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. |
|||
![]() |
|
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. |
|||
![]() |
|
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....
|
|||
![]() |
|
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.