The invoke macro doesn't handle strings defined using 'equ'.
Example:
Code: |
|
TESTCONTROL equ "Testing" ;WC_TABCONTROLA
invoke CreateWindowEx, NULL, TESTCONTROL, NULL, WS_CHILD or WS_VISIBLE, 4, 4, WINDOWWIDTH-12, WINDOWHEIGHT-30, [hwnd], NULL, NULL, NULL
|
|
[Edit] forgot to mention the error fasm gives me:
invalid operand