Hi, is it normal to get "" in sBuff ? DIM pBuff AS Pointer DIM sBuff AS String pBuff = Alloc(10) WRITE #pBuff, "123" & Chr$(0), 4 sBuff = StrPtr(pBuff) Free(pBuff) PRINT "sBuff = " & sBuff