Unicode Controls & Classes for VB6 - Version 4
clsUniFile
.ReadAny Function
Reads n bytes from file and fill a certain variable
Syntax
Public Function ReadAny (ByVal
lPtrAny
As Long, _
ByVal
lToRead
As Long) As Boolean
Parameters
Parameter
Description
ByVal
lPtrAny
As Long
Pointer to a variable; use VarPtr for generic type, StrPtr for strings
ByVal
lToRead
As Long
Bytes to read (use LenB for getting the correct byte size)
Remarks