flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 14 Feb 2012, 14:56
I couldn't find the code attachment in your post. How can we test it and fix it for you?
|
|||
![]() |
|
typedef 14 Feb 2012, 15:56
revolution wrote: I couldn't find the code attachment in your post. How can we test it and fix it for you? You should put a sticky note somewhere about that so you don't have to say it every time. ![]() |
|||
![]() |
|
madmatt 14 Feb 2012, 17:40
typedef wrote:
Ha, Ha, I didn't post the code, I thought someone could tell me without the code! ![]() All right here it is:
_________________ Gimme a sledge hammer! I'LL FIX IT! |
|||||||||||
![]() |
|
l_inc 14 Feb 2012, 22:13
madmatt
In the file OffScreenSurfaces there's a procedure DDFillPlain: Code: proc DDFillPlain Surface, Color But Color is a structure, defined in gdiplus.inc. Also you have other mistakes like comparing rax with too large values Code: .until rax <> DDERR_WASSTILLDRAWING and using undefined structures (BltFillRectangle). |
|||
![]() |
|
madmatt 14 Feb 2012, 23:08
l_inc wrote: madmatt Thanks! ![]() _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
![]() |
|
l_inc 15 Feb 2012, 00:28
madmatt
Quote: Why resource gave me an error I don't know. Because instead of defining the argument named Color the proc macro (defargs@proc to be more precise) expanded Color macro as a structure definition with parameters equ ..arg. Therefore Color macro in turn tried to define it's structure field with the initializer equ ..arg by doing dd equ ..arg. This however redefined the dd directive instead of defining the structure field. And the first place, where the dd directive was used afterwards, is the definition of the resource data directory in resource.inc. |
|||
![]() |
|
revolution 15 Feb 2012, 04:36
l_inc wrote: Because instead of defining the argument named Color the proc macro (defargs@proc to be more precise) expanded Color macro as a structure definition with parameters equ ..arg. Therefore Color macro in turn tried to define it's structure field with the initializer equ ..arg by doing dd equ ..arg. This however redefined the dd directive instead of defining the structure field. And the first place, where the dd directive was used afterwards, is the definition of the resource data directory in resource.inc. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.