passing pointers from DLL to VB to DLL
-
Here is what I want to do VB front end is main app DLL # 1 creates an array of doubles DLL # 2 performs some task on an array of doubles passed to it Vb frontend will get a pointer to an array of doubles (double * array) from DLL #1 and pass the pointer to DLL #2 which accepts pointers to arrays of doubles. How do I get VB to do this ie. recognize what a pointer to a array of doubles is?????? Thanks in advance for all help
-
Here is what I want to do VB front end is main app DLL # 1 creates an array of doubles DLL # 2 performs some task on an array of doubles passed to it Vb frontend will get a pointer to an array of doubles (double * array) from DLL #1 and pass the pointer to DLL #2 which accepts pointers to arrays of doubles. How do I get VB to do this ie. recognize what a pointer to a array of doubles is?????? Thanks in advance for all help
-
Between dll's you can pass pointer like long value and inside the second dll you can assign this long to the real pointer and do the conversion