FilePool of FileService

Home Forums kbmMW FilePool of FileService

Viewing 2 reply threads
  • Author
    Posts
    • #55648
      TomYU
      Participant

      hi,

      Setting FileService.FilePool during design period does not work and must be set during runtime.

      
      procedure TFileService.kbmMWFileServiceCreate(Sender: TObject);
      begin
      Self.FilePool:=MainDatamodule.kbmMWFilePool1;
      end;
      
      

      best regards

      Tom YU.

    • #55649
      kimbomadsen
      Keymaster

      Hi,

      It should work, but Delphi require you to have the main datamodule open, BEFORE you open the file service datamodule. If not Delphi will remove the link.

      /Kim

    • #55653
      TomYU
      Participant

      thanks!

       

Viewing 2 reply threads
  • You must be logged in to reply to this topic.