who can tell me why i can not compile this simple *.pro successfully, compiler hint is missing prototype(GPS_start_test())
the progam simplely list as follow:
/******************/
GPS_main.c:
#include <userint.h>
#include <cvirte.h>
#include "GPS_test.h"
#include "GPS_main.h"
void update()
{
MessagePopup("GRETAT", "hello") ;
}
int main (int argc, char *argv[])
{
if (InitCVIRTE (0, argv, 0) == 0)
return -1; /* out of memory */
update();
GPS_start_test();
return 0;
}
/************/
GPS_main.h:
#ifndef _GPS_MAIN_H
#define _GPS_MAIN_H
void update();
#endif
/***************/
GPS_test.c:
#include <userint.h>
#include "GPS_test.h"
void GPS_start_test()
{
MessagePopup("test","OK");
}
/*******************/
GPS_test.h:
#ifndef GPS_TEST_H
#define GPS_TEST_H
void GPS_start_test();
#endif
/***********/
just so simple ,but i can not compile it successfully.
2)another question is who can tell me which function in CVI or Windows SDK can get system time in ms unit.
Thank you in advance