I'm using Call Library Function node to call .dll functions.
For example one of the function that I use is defined as:
unsigned long OpenInterface(void ** Handle, unsigned long CommunicationType, void * pHandleInterface, unsigned char *PartNumber, unsigned long *pSize, unsigned long maxSize);
When I call this function I have to define input parameter "Handle" for it to function properly, and the function returns me PartNumber, pSize and other parameters.
My Question is:
Do I have to define constants of all output parameters before function is called? If I don't, do I have to be worry about somekind of memory errors? For example function OpenInterface calculates for me "Handle" in both cases: 1. If I define parameter handle as 0 before function call or 2. If I don't.