Ok what i'm trying to do is pass a string variable to a dll.
This is from the sdk documentation
To set a string, use a pointer to the string.
To get the string, allocate 256 bytes of memory and
set a pointer to that memory. The string is copied
to the memory.
This I think is my problem
strTemp="test" ScannerPrint STRING, StrPtr(strTemp)
Using this the only thing passed to the dll is the first letter in this case ´t´.
The reason is cause strptr only returns the adress in memory of the first char in the string so how do I pass the whole string.
Help please :confused:


Sign In
Create Account


Back to top









