by korejwa (4 Submissions)
Category: Data Structures
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (12 Votes)
Data Types and Arrays in a Class must be declared Private and normally can't be accessed from outside the Class. This gets arround the problem by using CopyMemory API to copy a pointer to a variable outside the Class. This allows you to read/modify Data Types and Arrays in a Class as if they were Public.
API DeclarationsCopyMemory
VarPtr