flat assembler
Message board for the users of flat assembler.
Index
> Windows > Error in fasm? |
Author |
|
UCM 06 Jun 2006, 11:13
You use, 'cinvoke wsprintf,a,b,c'
This is because wsprintf uses the C calling convention instead of the STDCALL calling convention. (P.S. This question has been asked about 4+ times now. Oh well.) |
|||
06 Jun 2006, 11:13 |
|
Postal 06 Jun 2006, 12:12
So, where I can get the list about of usage all windows-procedures? (invoke or cinvoke)?
|
|||
06 Jun 2006, 12:12 |
|
white_wight 06 Jun 2006, 12:30
Just look at 'include\macro\proc32.inc', and at http://flatassembler.net/docs.php?article=win32
|
|||
06 Jun 2006, 12:30 |
|
revolution 06 Jun 2006, 14:41
Quote: So, where I can get the list about of usage all windows-procedures? (invoke or cinvoke)? |
|||
06 Jun 2006, 14:41 |
|
Postal 06 Jun 2006, 17:10
I assumed, that "invoke" should know as to process any function.
It is strange, as it is made in MASM. Thanks. |
|||
06 Jun 2006, 17:10 |
|
Quantum 06 Jun 2006, 18:16
invoke in masm32 doesn't correcly fix unaligned (8-bit or 16-bit) parameters before pushing them into the stack. That's one of the many reasons I hate macros and never use 'em in my code.
|
|||
06 Jun 2006, 18:16 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.