Hi,
I was wondering if anyone has working solution .sln for DAQmx for C# compiled for x64 in .Net Framework 4.8 that they could share please?
I can get the example templates working for x86 but I get a System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' when compiling for x64.
I have replaced the dll reference for the x64 version as per the instructions on the website in:
C:\Program Files (x86)\National Instruments\MeasurementStudioVS2012\DotNET\Assemblies (64-bit)\Current
This is an example of stripped back console app.

Any suggestions would be greatly appreciated. Thank you!