News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

String #DEFINEs in x64 INVOKE

Started by Yuri, August 18, 2013, 03:52:58 PM

Previous topic - Next topic

Yuri

If a string is defined like this:

#define MY_STRING "Hello"

and then used in an Invoke like this:

invoke func, MY_STRING

it works fine in x86, but in x64 GoAsm puts in RCX the characters of the string rather than its address.

wjr

Thanks - I am well on my way to addressing this situation :biggrin: ...

wjr

Only 7 lines of code added, but it took a while to track down where, which flag to test, what to call, which flag to set, and where to jump to after, but it is now done in version 0.58.0.3.

Yuri

Thanks, Wayne, it works fine now. :icon_cool: