What other headers to you have included in your c file?
I have the following sample that compiles fine.
#include <cvirte.h>
#include <userint.h>
//Headers for UIR
#include "toolbox.h"
static int panelHandle;
static time_t fileTime;
int main (int argc, char *argv[])
{
if (InitCVIRTE (0, argv, 0) == 0)
return -1; /* out of memory */
if ((panelHandle = LoadPanel (0, "test.uir", PANEL)) < 0)
return -1;
DisplayPanel (panelHandle);
GetFileCLibTime ("c:\\1\\uir test\\1.h", &fileTime);
RunUserInterface ();
DiscardPanel (panelHandle);
return 0;
}
It compiles ok for me.
Bilal Durrani
NI