LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call Library Function Works in 2024 but not 2018.

Solved!
Go to solution

I am using multiple call library function nodes with WINAPI calling convention. I have gotten my program to work in LabVIEW 2024, but unfortunately it needs to be used in a LabVIEW 2018 environment. When I run it in 2018, the first Call Library Function returns the error 1097? What could be possible sources of this error?

0 Kudos
Message 1 of 4
(500 Views)

If your dll is 32 bit, you should use 32 bit LabVIEW;

if your dll is 64 bit, you should use 64 bit LabVIEW.

 

 

George Zou
Message 2 of 4
(495 Views)

My dll is 32 bit and my labview is 32 bit on both 2024 and 2018. 
I am running windows 10 on both laptops as well.

0 Kudos
Message 3 of 4
(452 Views)
Solution
Accepted by topic author jackm21

The solution was within my DLL code, it was a problem with the hardware of the laptop that was running 2018, as it had extra drivers that was causing the code to have an access violation. This makes sense as error 1097 typically means something has occurred within the DLL itself.

Message 4 of 4
(432 Views)