I think this is the wrong board for the question, but it fit the best in my opinion. If I need to move this, please let me know!
I am compiling my application with Qt 5.19, and using the NiDAQmx header, dll, and lib files. I am using the compiler MinGW 32 bit.
I am receiving an error when starting the application, saying "Application was unable to start correctly (0xc0000142)". When I comment out the DAQ code lines (as in DAQmxCreateTask("", &taskHandle); my code compiles and runs fine. Once these lines are uncommented the issue arises. My thought is that the DLLs are not being accessed? Although, I am connecting to the library and header file in the .pro file, as well the DLLs are installed via the DAQ software (within my Windows/System32). Any help is greatly appreciated, thanks in advance!