Good point Eric, I think at first I'll get into the habbit of checking the pointer address before writing and reading to them.
Code:
#Compile Exe Function PbMain() Dim dstr As String dstr = "Hello" Dim MyArray(Len(dstr)) As Byte At StrPtr(dstr) MyArray(0) = Asc("A") MsgBox dstr End Function
Cheers all
------------------
Paul Dwyer
Network Engineer
Aussie in Tokyo
(Paul282 at VB-World)
Leave a comment: