FinalVersion Posted June 18, 2010 Posted June 18, 2010 (edited) Why do I have to set the last parameter of _WinAPI_WriteProcessMemory() to NULL ( 0 )? MSDN even says the parameter is optional. Edited June 18, 2010 by FinalVersion [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
FinalVersion Posted June 18, 2010 Author Posted June 18, 2010 _WinAPI_WriteProcessMemory($var1, $var2, $var3, StringLen($var3) + 1, 0) [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
Juvigy Posted June 18, 2010 Posted June 18, 2010 Did you try _WinAPI_WriteProcessMemory($var1, $var2, $var3, StringLen($var3) + 1) ? There is no real NULL in autoit.You may have to experiment with "" , 'NULL' , NULL etc.
FinalVersion Posted June 18, 2010 Author Posted June 18, 2010 I did, but it's not an optional parameter in AutoIt [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now