Originally Posted by arnelgp just add PtrSafe to each Function/Sub declaration. That is absolutely not sufficient, and getting APIs wrong is not a good idea. Any handles/pointers also need to be converted to LongPtr.
Be as you wish to seem
Forum Rules