Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FireDac in Isapi.dll
#3
Ok bad news. Why did I changed to FireDac???

But isn't a thread already started when creating UserSession.
So what about this statement? FDManager must be activated before threads will start by setting FDManager.Active to True.

This is how I did it in a Service module
  FDManager := TFDManager.Create(nil);
  FDManager.ConnectionDefFileName := 'e:\FireDAC\FDConnectionDefs.ini';
  FDManager.ConnectionDefFileAutoLoad := True;
  FDManager.Active := True;

  StartThreads;  { Start file threads and begin fetching files }



Is that code ok, if so where should I put it. CreateUserSession?
Reply


Messages In This Thread
FireDac in Isapi.dll - by Mikael Nilsson - 11-11-2019, 03:02 PM
RE: FireDac in Isapi.dll - by kudzu - 11-11-2019, 04:15 PM
RE: FireDac in Isapi.dll - by Mikael Nilsson - 11-11-2019, 06:54 PM
RE: FireDac in Isapi.dll - by Mikael Nilsson - 11-11-2019, 08:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)