by LaVolpe (66 Submissions)
Category: Data Structures
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (9 Votes)
A little project to help explain how to read SafeArray structures just from the pointer. The project shows how you can determine if the array contains longs, dates, variants, etc, the number of dimensions, and more. Additionally, the code does not use VarPtrArray API to get the SafeArray address - neat trick. This is not groundbreaking code, but would be of interest to those that like the behind the scenes stuff. Included are "how to's" on creating your own and using them.