Jump to content

Lajos Juhász

Members
  • Content Count

    1072
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Lajos Juhász


  1. Unfortunately docwiki is down. I cannot comment on how you can configure SQL Server as I am not using that database. About the driver that is loaded you could try to query the FDConnection using the method GetInfoReport:

     

    https://docwiki.embarcadero.com/Libraries/Sydney/en/FireDAC.Comp.Client.TFDCustomConnection.GetInfoReport

     

    Google returned this https://stackoverflow.com/questions/64048094/connect-firedac-to-sql-server-through-odbc-driver-17-instead-of-sql-server-nativ:

     

    1

    For design time: drop a TFDPhysMSSQLDriverLink on the data module or form and set the ODBC driver to: ODBC Driver 17 for SQL Server in the drop down.

    After that open your TFDConnection and switch to the Info tab and check what driver it ends up using along with any notes it mentions.

    Note from the OP: To work for me I've needed to give a name to the TFDPhysMSSQLDriverLink component on its DriverID property, and set that name to the DriverName property of the TFDConnection.


  2. 6 minutes ago, Kas Ob. said:

    s you said it is wrong and should not work, yet this code on my Delphi XE8 does work fine with no problem.

    A change in the test procedure will cause an access violation in D12.1 if compiled as win32, win64 will not cause error:

     

    procedure Test;
    var
      dt: TDateTime;
      Proc1,Proc2:TDoSomethingProc;
    begin
      Proc1 := @DoSomething;
      Proc2 := @DoSomething2;
      Proc1(dt);
      WriteLn(DateTimeToStr(dt));
      Proc2(dt);
      WriteLn(DateTimeToStr(dt));
    end;

     


  3.  

    2. Depends on the third-party components used in the project.

    3. We do not know how the old application was connected to the database. Nowadays FireDAC is the recommended (default) DB access library in Delphi. 

    4. The best advice is to hire an UI expert to help to redesign the UI.

     


  4. 7 hours ago, Stefan Glienke said:

    At least not if they promote that developer to PM :classic_tongue:

     

    That should be the best scenario. He knows where are the problems and as a manager should be able to allocate resources to solve the problem.


  5. 4 hours ago, Al T said:

    Too bad they don't let you buy just what you need.  If you just prefer to create Android and Windows, you should be allowed to buy just those two as add-ons.  If you want Linux, then buy it as a addon.  If iOS apps, or Mac OS apps..etc.

     

    As any other company they need income to pay their bills,vages and profit to shareholders. To make the product more modular for some reason did not worked out for them. They have tried with the database add-on.

     

    4 hours ago, Al T said:

    Yes, that's correct.  Instead of allowing me to have all the bugs fixed for version 11, they want me to buy version 11.1, 11.2, 11.3, etc, for the bug fixes. 

     

    While that would be good for us. This would be increase the price. It is not always easy to backport bug fixes due to interface changes in the source code. Embarcadero still not able to test a single release good enough to release the new versions withous some serious bugs (eg. most of the customers will not release any program compiled with 0 version). 

     

    The company I am working for has a similair policy. A client can pay to get a change to be backported to his version only if that doesn't require too much code to change and we can test the product integrity after the change, otherwise the change can be delivered with a version upgrade.


  6. 1 hour ago, Uwe Raabe said:

    BTW, I still even refuse to provide MMX via GetIt for several reasons.

     

    IMHO GetIt is the right choice to destroy any library. I see no benefit from it, just limits the choice for no benefit.

    • Like 2
    • Haha 1
    • Sad 1

  7. 12 hours ago, Uwe Raabe said:

    Would you bet on all that not going to change?

    I can bet that Embarcadero would not support older versions of the Delphi. You would have to use the latest version of the IDE to have the latest version of MMX. 

     

    The only thing that could be better in theory is integration. They would see what could be improved to make it work better. On the other hand, it does not work for the Bookmarks or the Parallel debugger or even for the KSVC.

     

    • Sad 2

  8. I am glad that I am not the only who have had this issue. Using IDE on multiple monitors is not reliable. I am using that way only when I have to debug High-DPI or multi monitor setup, otherwise the IDE is on my secondary 2k monitor and laptop display is turned off.


  9.  

    37 minutes ago, Richard Wilson said:

    ShortDateFormat := 'ddmmyyyy' and DateSeparator := '/' causes StrToDate('01/01/1970') to throw an Exception

     

    Nothing was changed 01/01/1970 required date format dd/mm/yyyy. Tested with Delphi XE5:

     

    var
      f: TFormatSettings;
    begin
      f:=TFormatSettings.Create;
      f.ShortDateFormat:='dd/mm/yyyy';
      f.DateSeparator:='/';
      StrToDate('01011970', f);
    end;

    The result is as expected

     ---------------------------
    Debugger Exception Notification
    ---------------------------
    Project Project1.exe raised exception class EConvertError with message ''01011970' is not a valid date'.
    ---------------------------
    Break   Continue   Help   
    ---------------------------

×