hallo,
in a controller-project (not CVI) I use a self-written pointerList. This list-structure has some function-pointers e.g. "int (*compare)(void*, void*)" to do something with the objects putted into the list later.
so I can put into one list structures of type ABCD, in the other list structures of type EFGH and have not to manipulate the list-definition. I have only to write the methodes and initialize the list with function-pointer to these.
NOW i want to do this in CVI, but the compiler says
"Incompatible functions found
int (*compare) (ABCD*, ABCD*)
but expected
int (*compare) (void*, void*)"
Is there a possibility to make the compiler eating this (an option ?) or have you another idea?
best regards
Simon