VBGamer |
|||||||||||||||||||||||||||
RE: Single to String, impossible? Rag on a Stick (1 reply, 0 views) (2000-Sep-24) You could try something like this:
A single is 4 bytes long and a string is 10 bytes + the length of it. So using copymemory, would it be possible to do something like this:
'so that when copymemory does its thing, it will be writing to the string, not some other variable:
TheString = "xxxx"
CopyMemory StrPtr(TheString) + 10, VarPtr(TheSingle), 4
Actually, I think I'm way off track. But its a shot in the dark.
And excuse my ignorance, but what is NTP? =)
|