I am using Labwindows/CVI 5.5. The code works with Visual c++ but it does not work here.
My code:
typedef struct testfunc
{
int para;
int (*stepfunc)();
}TESTFUNC;
int EXE_test(TESTFUNC *pfn)
{
int result;
if(pfn->para==VOID)
result=(*pfn->stepfunc)();
else result=(*pfn->stepfunc)(pfn->para);
}
Compiler of CVI says missing protype function at (*pfn->stepfunc).
Please, help.