Having a DLL project, somewhat large, about 20-30 functions... Some use 'struct references' to write to data structures (s.a. error info) held by the caller. Okay so far...
When trying to make a type library for the functions, CVI politely suggests using typedefs instead of structs. No problem. But even after that, having replaced all structs with custom types in both the code and the FP, odl compiler still fails... This is driving me nuts!
Only solution I see is faking those pointers as 'void*' but that's not very neat, is it. Am I missing something, if so, what.
Some concerned files are attached if they help.
-asko
P.S. I got it to compile, by changing "const char*" struct members into plain "char*". Woul
d like to use the consts there though... Also, function pointer I'm passing to 'SetProgressCallback' needed to be faked as 'void*'. Any way I could get the real types through?