I need to change the random system color to change to a random color. Here's what I got:
Where is the mistake?
I need to change the random system color to change to a random color. Here's what I got:
Where is the mistake?
Variable required
We look at the signature of the procedure
procedure SetSysColors(Changes: Integer; var SysColor: Integer; var ColorValues: Longint);
for SetSysColors
second and third parameters must be variables.
__in const
written. - karmadro4INT *lpaElements
- pointer to intu. When the TC calls rgb
return result is put somewhere in eax
and the compiler does not convert it to an address in any way. Therefore, a variable is required explicitly. // I feel that you want to catch me on something or have already caught it)) // / * and it seems to me that @ karamdro4 is my personal troll angel) * / - Nofate ♦Try to push before api function
Randomize;
Source: https://ru.stackoverflow.com/questions/103915/
All Articles