That's probably the best solution. Also, you could use another thread that would work as the counter and maybe a yet another one for deleting the data if it's too old. That would make your application multithreaded. But be careful when sharing data between many threads - I suggest you use critical sections - they are the best solution IMHO.Originally Posted by ianatwork
Bookmarks