Jump to content

Larry2023

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Larry2023

    TRESTClient in a Thread

    Ahh I missed that. Thank you very much! Big help! Works great now.
  2. I have a function that uses TRESTClient (and associated classes) in an EXE. The function works great in the EXE. I am attempting to move that function to a thread in a console app (later this will be a service). I created a new class MyService = class(TThread). The application flow is: Start console app. Create MyService From MyService.Excute call the function (good so far) In the function: Run an ADO query (this works) Create the TRESTClient (and associated objects). These are created dynamically. Call the TRESTRequest.Execute method. In TRESTRequest.Execute the entire application appears to hang. Anyone have any pointers? Thx!
×