flat assembler
Message board for the users of flat assembler.
Index
> Windows > Unrecongnized Error |
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?
|
|||
14 Feb 2012, 14:56 |
|
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. |
|||
14 Feb 2012, 15:56 |
|
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! |
|||||||||||
14 Feb 2012, 17:40 |
|
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). |
|||
14 Feb 2012, 22:13 |
|
madmatt 14 Feb 2012, 23:08
l_inc wrote: madmatt Thanks! , you're right, Renamed the 'Color' Variable to ColorRGB and that fixed the problem. Why resource gave me an error I don't know. Fixed the other problems you mentioned also. _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
14 Feb 2012, 23:08 |
|
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. |
|||
15 Feb 2012, 00:28 |
|
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. |
|||
15 Feb 2012, 04:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.