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?