Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ buffer... What to pass in parameter "as Any"

While trying to run DAQ_Start(...), I am crashing due to memory access violation. The only thing I can provide so far for this parameter was a Long I declared that stored the reference returned from GlobalAlloc (WinAPI call) passed to DAQ_Start in place of the "d as Any" parameter. The documentation claims that it expects an array of integers though in the provided DLL for my hardware the function has a different parameter type. Am I passing the wrong thing and if so, what do I pass to this function for this parameter?
0 Kudos
Message 1 of 2
(5,659 Views)
For anyone who is interested, this question was answered by sicresearcher HERE.
0 Kudos
Message 2 of 2
(5,659 Views)