I'm trying to convert a Blitz String into an int so that I can pass it to a DLL.
e.g.
t:String = "Hello"
A:int = 0
A = t.ToCString
I used to do it this way:
Int(StringToCString(t$))
and used to convert back via
CStringToString$(retval)
but this no longer works.
No matter how I slice it, I can't get a simple int with the memory address I want to pass. Just convertion errors. Any Idea's what I'm doing wrong.
e.g.
t:String = "Hello"
A:int = 0
A = t.ToCString
I used to do it this way:
Int(StringToCString(t$))
and used to convert back via
CStringToString$(retval)
but this no longer works.
No matter how I slice it, I can't get a simple int with the memory address I want to pass. Just convertion errors. Any Idea's what I'm doing wrong.