Jump to content

gkobler

Members
  • Content Count

    167
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by gkobler

  1. In the meantime, I have come up with a solution. I have debugged something in the library. I found out that if the protocol is set to "ipLocal", the port is not taken into account. You have to change the protocol to "ipTCPIP" and set the host to "localhost", then it works. Follow the final code FUNCTION TfrmMain.GetFirebirdServerInfo: boolean; VAR FDIBInfo: TFDIBInfo; AVersion: TIBInfo.TVersion; AConfig: TIBInfo.TConfig; BEGIN Result := False; IF (teFirebirdInstallPath.Text = '') AND (teFirebirdVersion.Text = '') THEN BEGIN FDIBInfo := TFDIBInfo.Create(Self); TRY FDPhysFBDriverLink.VendorLib := teVendorLibrary.Text; FDIBInfo.Protocol := ipTCPIP; FDIBInfo.DriverLink := FDPhysFBDriverLink; FDIBInfo.Host := 'localhost'; FDIBInfo.Port := spePort.Value; FDIBInfo.UserName := teUsername.Text; FDIBInfo.Password := tePassword.Text; FDIBInfo.GetVersion(AVersion); teFirebirdVersion.Text := AVersion.FServerStr; FDIBInfo.UserName := teUsername.Text; FDIBInfo.Password := tePassword.Text; FDIBInfo.GetConfig(AConfig); teFirebirdInstallPath.Text := AConfig.FServerPath; Result := True; FINALLY FDIBInfo.Free; END; END ELSE BEGIN Result := True; END; END;
  2. I use the FB5 dll 32bit version. FDPhysFBDriverLink1.VendorLib := 'D:\Temp\fbclient32_500.dll'; FB3 would be the follow FDPhysFBDriverLink1.VendorLib := 'D:\Temp\fbclient32_311.dll'; I renamed the dll as follow FB3.0.11 32/64bit -> fbclient32_311.dll / fbclient64_311.dll FB4.0.4 32/64bit -> fbclient32_404.dll / fbclient64_404.dll FB5.0.0 32/64bit -> fbclient32_500.dll / fbclient64_500.dll
  3. Stupid... the other solution would basically work, but it doesn't pay attention to the port
  4. How can i use this without to connect to a specify database?
  5. Thanks for that hint. Have change it, now all version runs a service But unfortunately it still doesn't solve my problem
  6. A new version is available V1.6.0.166. This version now supports FB5 release candidat 1. Visit our Homepage and download the Trialversion: https://fbm.gksoft.ch
  7. gkobler

    Firebird - Monitor 2.5 / 3.0 / 4.0 / 5.0

    A new version is available V1.6.1.171. Support for FB5 and HDPI. Visit our Homepage and download the Trialversion: https://fbm.gksoft.ch
  8. Did you have a task called "adb.exe"? When yes kill it? I had the same problem in the past. Although I had only worked on one VCL project. I don't remember which Delphi version the problem occurred with.
  9. gkobler

    TFDUpdateSQL Problem

    I'm migration a project from FB4 to FB5, i use a TFDQuery and a TFDUpdateSQL component. My project runs without any problems. I have updated the database from FB4 to FB5 now. Now i got a problem, when i update a Field in my table. The follow exception are rises Im Projekt Project2.exe ist eine Exception der Klasse EFDDBEngineException mit der Meldung '[FireDAC][Phys][FB]-312. Genau update affected [0] Zeilen, [1] wurden angefordert' aufgetreten. and Im Projekt Project2.exe ist eine Exception der Klasse EFDException mit der Meldung '[FireDAC][DApt]-400. Update-Anweisung updated [0] anstelle von [1] Datensatz. Mögliche Ursachen: Aktualisierungstabelle hat keinen Primärschlüssel oder Zeilenbezeichner, Datensatz wurde von einem anderen Benutzer geändert/gelöscht' aufgetreten. The data field are not updated. When i now set the property UpdateOptions.CountUpdateRecords to False, i just got the first exception and the fiel are updated to the table. What can i do to avoid the exception? I think the problem should be in the TFDUpdateSQL Component, but something must be changed from FB4 to FB5? Thanks for any hint Gregor
  10. gkobler

    TFDUpdateSQL Problem

    it works for me. 🙂 Thanks a lot for your support!
  11. gkobler

    TFDUpdateSQL Problem

    @Dmitry Arefiev should i go via the support to get a fix earlyer? Or could you post some infos here to fix it? Quality Portal is read only at the moment and it‘s not an option for that.
  12. gkobler

    TFDUpdateSQL Problem

    Thanks for clarifying and investigating. Attached my smal demo project. Just start it and try to change a value at any field. Immediately when you try to post this chages, the exception are raising. Quality portal is still in read-only mode, so i can't report the bug. FireDac Sample.7z
  13. gkobler

    Interbase - unable to start service

    May do you have installed Firebird-Server at the same PC?
  14. gkobler

    wuppdi Welcome Page for Delphi 11 Alexandria?

    Fixed I've already thought about implementing it. But I'm very busy with other things at the moment. But I think I will do it.
  15. gkobler

    wuppdi Welcome Page for Delphi 11 Alexandria?

    I did not find any info at the stacktrace that the WP-Plugin made the error. There is no entry of my WP-Plugin. But try to compile and install the follow demo, and look if the same exceptions are happend C:\Users\Public\Documents\Embarcadero\Studio\23.0\Samples\Object Pascal\VCL\VCL WelcomePage\ToolsAPI.WelcomePage Basic PlugIn This demo are the basis of my WP-Plugin
  16. gkobler

    wuppdi Welcome Page for Delphi 11 Alexandria?

    Use the same version. At the moment I can't even imagine what could trigger such an exception in my plugin in connection with TMS.
  17. gkobler

    wuppdi Welcome Page for Delphi 11 Alexandria?

    Hello @AJ_Oldendorf I have open your demo, but can reproduce the case. 😞 When i click to the described area, it selects PageControl1, right?, After Ctrl-C nothing happens, also when i close the form.
  18. gkobler

    wuppdi Welcome Page for Delphi 11 Alexandria?

    Hello @AJ_Oldendorf will investigate the case. I have TMS-All-Access. But the next two weeks i‘m not in the office. And i think this case could be complicated, we will see
  19. gkobler

    Firebird 3.0 problem

    find some other links in the google firebird-support group See the Firebird 3 release notes. Connection strings that are only a file path will now use embedded. See https://www.firebirdsql.org/file/documentation/release_notes/html/en/3_0/rlsnotes30.html#rnfb30-engine-modes-protocols and https://www.firebirdsql.org/file/documentation/release_notes/html/en/3_0/rlsnotes30.html#rnfb30-compat-winlocal Also read https://www.firebirdsql.org/file/documentation/release_notes/html/en/3_0/rlsnotes30.html#rnfb30-engine
  20. gkobler

    Firebird 3.0 problem

    OK, there are some infos about embedded from Helen and Vlad read the PDF https://www.firebirdsql.org/en/news/embedded-server-in-firebird-3/ May that have some infos for you.
  21. gkobler

    Firebird 3.0 problem

    Shouldn't the client library be called embeded.dll instead of fbclient.dll? And as far as I know, the Firebird installation must be in the Project.exe directory. But I could be wrong.
  22. gkobler

    Delphi 12 and *.dsv

    This options are new in D12
  23. gkobler

    Delphi 12 and *.dsv

    have the same files, i look like there where store some information of the open files
  24. gkobler

    Delphi 12 IDE, auto-formatter mutilates generics

    I'm just lazy and like to leave the work to the formatter
  25. gkobler

    Delphi 12 IDE, auto-formatter mutilates generics

    Is there an alternative for the code formatter?
×