LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create and use in Labwindows my own static library (with functions and panel)

it's works fine now : )

the problem was in declaration in .h file of library.
It should be :
int test(void);

and was:
int test();

ivi.h not found in files (cvi7.0)

by the way:
"void _VI_FUNC test (int *value);"
what _VI_FUNC is providing ?
0 Kudos
Message 11 of 12
(915 Views)
Hi,

_VI_FUNC is a stdcall predefined in visatype.h which is called by ivi.h

When we create a dll all the functions which are declared with this extension will be exported and the rest would be just the utility functions and are not exported.

Regards,
Siddu
0 Kudos
Message 12 of 12
(907 Views)