04-29-2008 09:41 AM
05-08-2008 06:32 AM
05-08-2008 08:16 AM
05-08-2008 09:12 AM
05-08-2008 10:58 AM
Sorry,as I was having the same problem with two defferent types I tried to make a simplified example I should have mistake.This is the real one:
typedef struct {
double Time;
int Level;
int Sync;
char *Data;
} t_Logic;
int __stdcall GetSequenceFromLogic(t_Logic *signal,int iNumLogic, char *seq);
About the char*, I don't think it is the problem because I have used it in others functions.
I'v etried, only to check
int __stdcall GetSequenceFromLogic(t_Logic signal,int iNumLogic, char *seq); and it says:
...found identifier expected ')'
Reagrds
05-12-2008 10:44 AM
Hi cortiz2,
It look like a programming error, not a CVI error. This error use to take place
when the function prototype in the .h file and the function definition in the
.c file don`t match up. Compare that these three lines are the same:
-the line in your source code
-the line in the header file of the library
-the line in the source file of the library
Other reason could be you are using an undefined parameter type in the header file or in the source file. Check you have defined this parameter type in both files (source and header).
Regards,