Unicode Controls & Classes for VB6 - Version 4

clsUniFile.WriteAny Function

Writes a generic variable to a file

Syntax
Public Function WriteAny (ByVal lPtrAny As Long, _
ByVal lToWrite As Long) As Boolean
Parameters
Parameter Description
ByVal lPtrAny As Long Pointer to the variable; use VarPtr for custom types, StrPtr for strings
ByVal lToWrite As Long Bytes to write; use LenB for calculating the right size
Remarks