LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

At compilation I get a Missing prototype error.

I have a compilation problem.

static CAObjHandle CalendarHandle;

BCGDATETIMELib_Active_DBCGDateTime (NULL, 1, LOCALE_NEUTRAL,0, &CalendarHandle);

ERROR:Missing prototype

Please help me.
0 Kudos
Message 1 of 3
(3,108 Views)
This sounds simple although I can't find a quick answer at the BCGDATE website.
It sounds like you need to #include a .h file from BCGDATE with your function defined. Check to make sure you have the correct case, spelling, and spacing.
Message 2 of 3
(3,108 Views)
Hi,

In addition to including a header (.h) file from BCGDATETIME, you may also need to add a library (.lib) file to your project. This library file will resolve any linker errors that you may run into when building the application.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
Message 3 of 3
(3,108 Views)