VB and pointers et al
Posted on 2003-11-06
This is something that's probably been covered time and time again. I'm working with external DLLs that require pointers to byte array and also pointers to the equivalent of a DWORD.
I think I understand the pointer to a byte array, using the concept of ByRef and myArray(0) to pass to a DLL or return from a DLL, but what about a DWORD, how can I pass a pointer to my variable in VB and either pass my number to the DLL or get it to pass a response back into my variable?
If that makes any sense, I'll be very surprised.