LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with niSync.dll and PIX6683

Hi guys,

I'm trying to handle PXI6683, but I'm getting several problems with niSync.dll. I'm working with Visual Studio 2017 C++ so, first of all, I created niSync.lib from the dll following theses steps:

https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/

 

I have added the path of the .lib file in Configuration Properties>>Linker>>General >>Additional Library Directories and "niSinc.lib" in Linker>>Input>>Additional Dependencies. However, when I call the niSync_init function, I'm getting next errors:

 

LNK2019: unresolved external symbol _niSync_init@16 referenced in function...

LNK1120: 1 unresolved externals

So, I don't know if the library isn't linked well or maybe if the problem could be related to .lib file creation.

 

Cheers.

0 Kudos
Message 1 of 1
(2,297 Views)