05-04-2018 04:31 AM
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
05-23-2018 10:56 AM
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