Sorry, I'm having a bit of a brainfart here, because I've done this plenty of times. I want to pass the address of an array ( integers, not UDT's ) to a DLL, and I can't remember the syntax for doing it.
I've set the extern up to expect an Int Ptr, and then what do I pass to it?
I'm guessing VarPtr(MyArray[0]) but I'm not 100%.
I've set the extern up to expect an Int Ptr, and then what do I pass to it?
I'm guessing VarPtr(MyArray[0]) but I'm not 100%.