Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Example #1
- A = DllStructCreate("ptr B")
- B = DllStructCreate("int C")
- A.B = DllStructGetPtr(B)
- A.B.C = 42
- print(A.B & @CRLF) ; the pointer to B
- print(A.B.C & @CRLF) ; also the pointer to B
- ; Example #2
- A = DllStructCreate("struct B; int C; endstruct;")
- A.B.C = 42
- print(A.B.C & @LF) ; 0
- ; Example #3
- Console = DllStructCreate("ptr Write")
- Console.Write = ConsoleWrite
- Console.Write("Hello World!" & @CRLF)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement