With 'the same problem' you mean that you are using a string variable to pass a long raw value? If so, just change it to a long raw variable and you should be fine. You can now use SetVariable with a string argument, which will pass the string value byte for byte to the long raw variable. You can also use SetLongVariable, which accepts a pointer to your binary data and doesn't copy any memory.

If this doesn't help, let me know what you are trying to accomplish and what the problem is.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations