Hi to everybody!
I made a windows service that each 5 second call the cnc_allclibhndl3 function to get the handle, then call cnc_statinfo/cnc_rddynamic2/cnc_rdsvmeter/cnc_rdspmeter/cnc_sysinfo/cnc_rdparar/cnc_rdalmmsg2, finally release the handle with cnc_freelibhndl.
After running fine for 2-3 hours I notice from the task manager that the service show 100% cpu using.
From the log I can see that the service is stuck on calling the cnc_allclibhndl3 function.
Restarting the service solve the problem for the next 2-3 hours.
The service it's write in C#.
Many thank's to anyone can give usefull tip