The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MASM32 Downloads
Home
Help
Search
Login
Register
The MASM Forum
»
Projects
»
Rarely Used Projects
»
GoAsm
(Moderator:
Donkey
) »
String #DEFINEs in x64 INVOKE
« previous
next »
Print
Pages: [
1
]
Author
Topic: String #DEFINEs in x64 INVOKE (Read 3990 times)
Yuri
Member
Posts: 179
String #DEFINEs in x64 INVOKE
«
on:
August 18, 2013, 03:52:58 PM »
If a string is defined like this:
Code:
[Select]
#define MY_STRING "Hello"
and then used in an Invoke like this:
Code:
[Select]
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.
Logged
DynamicWrapperX
wjr
Member
Posts: 247
Re: String #DEFINEs in x64 INVOKE
«
Reply #1 on:
August 25, 2013, 01:28:05 AM »
Thanks - I am well on my way to addressing this situation
...
Logged
wjr
Member
Posts: 247
Re: String #DEFINEs in x64 INVOKE
«
Reply #2 on:
August 28, 2013, 02:30:09 PM »
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.
Logged
Yuri
Member
Posts: 179
Re: String #DEFINEs in x64 INVOKE
«
Reply #3 on:
August 29, 2013, 02:23:19 PM »
Thanks, Wayne, it works fine now. :icon_cool:
Logged
DynamicWrapperX
Print
Pages: [
1
]
« previous
next »
The MASM Forum
»
Projects
»
Rarely Used Projects
»
GoAsm
(Moderator:
Donkey
) »
String #DEFINEs in x64 INVOKE