Thanks Perturbatio, not working 100% yet though. If I modify the code to this:
Then it works fine, but I'd rather it held the correct value automatically so I don't have to call FromCString( ) every time, or even once to update the value.
I can't appear to use the FromCString( ) method inside the Extern block so I'm not sure if this is possible or not.
Regards,
Chris
Import "test.cpp" Extern Global myString:Byte Ptr = "myString" End Extern DebugLog String.FromCString( myString )
Then it works fine, but I'd rather it held the correct value automatically so I don't have to call FromCString( ) every time, or even once to update the value.
I can't appear to use the FromCString( ) method inside the Extern block so I'm not sure if this is possible or not.
Regards,
Chris