Menu

The threaded support

2002-03-26
2002-03-26
  • Jiri Barton

    Jiri Barton - 2002-03-26

    First, I couldn't get the idea how one can reply to a post on SF, so I'm starting a new thread (the only choice available:-(

    Yes, I'd like to be able to use Direct SQL - Delphi asynchronously. I have actually created a thread myself that creates TMySQLClient and processes all the requests from the main thread. So I'd be glad to see someone has done the work for me;-)
    The user of my future app will have a pretty fast connection but the TMySQLClient.connect still takes several seconds. So I have decided to do everything in the separate thread. When the main form initializes, it displays a login dialog, but  opens a SQL connection in the background:-)

     
    • Cristian Nicola

      Cristian Nicola - 2002-03-26

      About the connect ...check the new version as the connect now should be very fast (the maximum time it takes is equal with the connecttimout value -take care with it as a value to small may report can't connect to host)
      Regards,
      Cristian

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.