I am using visual C++ ver 8.
I have written a application that calls a third party dll function that communicates to a connected embedded device via TCP/IP. This routine is ran around 14 times a second.
Two/three weeks or so in, my application stops working due to a non return in the dll and appears to get stuck in a internal loop in the third party dll. The application does not crash, but I do need to perform a manual closedown and a restart to gets things going again.
What is the best way to handle this? I know if I was using VB, I could maybe use a multi-threaded timer function to see if processing has stopped? However, I dont know how to do this in c++ or is is there a simpler method I could use?
As its a third party dll I cant debug their issue, but I should be able to handle it within my app..
I would appreciate your assistance?