Hello all,
I was hoping to get some help on creating a DLL (I am using VS2017 but hope people on here might be able to trace or help on the issue) using the TDM C DLL functions.
I had everything working fine but one day the function started returning error -6204 when finding groups, and now I cannot even call the DDCOpenFileEx function without receiving the error. When compiled as an application, all works fine. When I change the calls to dll and compile as a DLL it simply returns the error. Attached is a simple test code trying to simply open and close a TDMS file but when I call from LabVIEW, I cannot get past the error.
I think it might be how I set up the project but want to get some advice. Attached is the sample code, I can also attach the VS2017 solution if people would like to check my settings as well. If someone has time to confirm they can get it working, I would greatly appreciate it.