The IEC61850_Associate_Req function has a callback fuction Confirmation as one of its parameters. How do I implement the callback using the Call Library Function node
int_stdcall Confirmation(LPCTSTR Msg)
{
printf("\n***Confirmation (callback)***\n%s\n", Msg);
return 0;
}
result= IEC61850_Associate_Req(request.c_str(), Confirmation, response, 1024);
if(result)
{
return result;
}
In the above program, request and response is an xml based strings.
I am stuck in this logic for past one week.