Passing VB Callback function to C dll - noob is stuck.
- by WaveyDavey
Callbacks in VB (from C dll).
I need to pass a vb function as a callback to a c function in a dll. I know I need to use
addressof for the function but I'm getting more and more confused as to how to do it.
Details:
The function in the dll that I'm passing the address of a callback to is defined in C as :
PaError Pa_OpenStream( PaStream**…