Quantcast
Viewing all articles
Browse latest Browse all 659

Accessing Shared Variable with Network Variable API from Delphi

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.


Viewing all articles
Browse latest Browse all 659

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>