Hi all,
I'm trying to translate the Network Variable API to Delphi (ninetv.dll, cvinet.h, cvidef.h). Some functions are already working. But I can't find some parameter types in the header files. For example CNVReader of the functions
int CNVCreateReader (const char *networkVariablePathname, CNVStatusCallback statusCallback, void *callbackData, int waitTime, intptr_t reserved, CNVReader *reader);
int CNVRead (CNVReader reader, int waitTime, CNVData *data);
Is CNVReader a pointer to a structure or a handle?
I've tried both "successfully" (returned value 0) but by using it in CNVRead the function it crashes with access violation.
Thanks.