flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Macroinstructions > Another problem with 64bit invoke macro.

Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1021
Location: Michigan, USA
Another problem with 64bit invoke macro.
The invoke macro doesn't handle strings defined using 'equ'.
Example:

Code:
TESTCONTROL equ "Testing" ;WC_TABCONTROLA
invoke  CreateWindowExNULLTESTCONTROLNULLWS_CHILD or WS_VISIBLE44WINDOWWIDTH-12WINDOWHEIGHT-30, [hwnd], NULLNULLNULL




[Edit] forgot to mention the error fasm gives me:

invalid operand

Code:
inc 'Testing'


_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 16 Jan 2012, 14:13
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2013, Tomasz Grysztar.