Hi. I am beginner at working with threads but I think it's time to work it out.
I am writing database software which communicates with online database services and downloads prices and availability of many different goods. I am using THTTPSend to achieve that, but when It connects to the server my application hangs in couple of occasions (when waiting for server response, and converting received data into my local format).
To communicate I created a complete class which is using Synapse and many other libraries.
How to put this class in another thread so the main thread won't hang during communication with other servers.
I tried to start working with this but it didn't work - the main thread locked up as usual when waiting for server response.