Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5376

error: too many arguments to function call, expected 0, have 2

$
0
0

Hello,

I try to build a project with CVI LabWindows 2015.

I have several messages like this :

error: too many arguments to function call, expected 0, have 2

 

The functions are defined in a DLL.

For instance we have a declaration :

FARPROC WINAPI   video_utils_add_line_inlay;

The line in error is :

video_utils_delete_line_inlay(Objet_VideoUtils, ID);

In the ".h" of the DLL we have :

extern"C"__declspec(dllexport) int video_utils_delete_line_inlay(void* v1, int index);

 

Build is OK with CVI LabWindows 2013.

 

Thank you for your help.

 

Best Regards

LaurentC92


Viewing all articles
Browse latest Browse all 5376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>