LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

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

       Hi Laurent,

 

I could not find this issue anywhere. Have you been able to solve it?

If not, could you please post a small project able to reproduce it so we can help you troubleshooting what is happenning?

Have you tried re-creating a project from scratch?

 

Have a nice day

M-Junior

0 Kudos
Message 2 of 2
(2,370 Views)