LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows/CVI Link errors between files/module

Hello,

I am writing about the following project link error:

1 Project link error
Multiply defined symbol '_open' in modules '32002_1.c' and
'c:\measurementstudio\cvi\bin\cvi.lib'.

I recieve this error when running my program in LabWindows\CVI.
I have to shutdown LabWindows\CVi inorder to prevent recieving this
error again. Can you tell me what might cause this error?

All help is greatly appriecated.


Thank you

EF
0 Kudos
Message 1 of 2
(2,921 Views)
Hi EF...

This may be only the "Default calling convention"... which is the way CVI assume for the calling function in a external library... In pure C the standart are __stdcall or __cdecl.

You can change that from you project window on option menu and buid option submenu...

If you have access to the header of your library file... you can force CVI into a calling convention by inserting the calling convention into the function call...

Hoping that it will help you

Best Regard

Steph
0 Kudos
Message 2 of 2
(2,921 Views)