cheney Posted July 26, 2010 Share Posted July 26, 2010 Hi: how can I get the pointer of offset? local $Buffer = DllStructCreate("byte[" & 0x10*512 & "]") local $ptr = DllStructGetPtr($Buffer) How can I get the pointer of byte[512]? Use DllStructGetPtr ?? Thanks for your help !! Link to comment Share on other sites More sharing options...
evilertoaster Posted July 26, 2010 Share Posted July 26, 2010 Assuming it's a byte array you should be able to do: local $Buffer = DllStructCreate("byte[" & 0x10*512 & "]") local $ptr = DllStructGetPtr($Buffer)+512 Link to comment Share on other sites More sharing options...
cheney Posted July 27, 2010 Author Share Posted July 27, 2010 Thank you for your help !! Link to comment Share on other sites More sharing options...
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