If the return status is 2002 it is because you are trying to connect twice. You only need to connect once - in the main would be good. The threads only need to do opens. If the return code is something else, well you maybe can ignore this. Posting the error is always a good idea when asking for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.