01-04-2017 09:32 AM
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.
Solved! Go to Solution.
01-05-2017 07:36 AM
I've found it. The name of the 2. function is "CNVRead" but I tried to call "CNVReader".