Jump to content

Lajos Juhász

Members
  • Content Count

    1050
  • Joined

  • Last visited

  • Days Won

    14

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Which ODBC driver version is used by FireDac

    TFDPhysMSSQLDriverLink has an ODBCDriver property, I have no server to test it.
  2. Lajos Juhász

    Which ODBC driver version is used by FireDac

    You can try this: https://stackoverflow.com/questions/42403351/how-can-i-find-the-ms-access-version-and-or-dll-name-used-for-a-firedac-connecti
  3. Lajos Juhász

    Need help please..

    A quick search returned instead of PToken_User it is definied as PTokenUser in Winapi,Windows.
  4. Lajos Juhász

    What is Shift+F2 supposed to do?

    I have tested F2 or shift+f2 will focus the Object inspector in Form Designer for Delphi XE5, Delphi 11.2 and Delphi 12.2 patch 1.
  5. The only limitation I can think of that will most probably be a big no for you is the revenue clause for the companies that want to install the community edition (https://www.embarcadero.com/products/cbuilder/starter): Licensed for use until your individual revenue from C++Builder applications or company revenue reaches $5,000 US or your development team expands to more than 5 developers It is meant only for a start-up companies that don't have a product yet. I safer choice would be to test your code base using the trial version.
  6. Lajos Juhász

    Help with TFDBatchMove fields

    I have never tried batchmove. A simple optimization would be not to use AItem.DestField.FieldName in that event, instead you could try AItem.Index or AItem.Destfield.
  7. Lajos Juhász

    ​LOST DEBUGGER ON EDIT ERROR timeout trigger.

    This option is exactly do not show the error in the IDE. The exception is going to work as expected only you do not get the dialog while debugging.
  8. Lajos Juhász

    CCR.Exif with lots of errors.

    It is easier if you paste a text instead a picture. they have changed the signature of the Realloc method: function TMemoryStream.Realloc(var NewCapacity: NativeInt): Pointer;
  9. You should watch more youtube there jura is already fired by ClickUp.
  10. Lajos Juhász

    Packages and Package structure

    I have had a problem with Delphi 12.2 when I have edited my package. After that I was unable to compile it due to access violation during compilation. The only solution was to delete all the dcu, bpl and dcp files. After that I was able to compile the project group. Of course, I cannot reproduce it and did not took any screenshots.
  11. Lajos Juhász

    Packages and Package structure

    There is no problem while the source can be compiled. I have such a package. If there is a problem and you can not compile it those files that contains components from the package can be edited only using extarnal editor (notped is my choice).
  12. Lajos Juhász

    "Divided by zero" exception

    because it was changed to work like in other programming languages? https://docwiki.embarcadero.com/Libraries/Athens/en/System.Math.SetExceptionMask
  13. Lajos Juhász

    D12 TItemClickEvent undeclared identifier

    For me it is working: var eItemClickEvent: TCustomListBox.TItemClickEvent; and fails at: eItemClickEvent := aListBox.OnClick ; since the OnClick and OnItemClick has different signatures. For OnClick it should be: var eOnClickEvent : TNotifyEvent; eOnClickEvent:=aListBox.OnClick;
  14. Lajos Juhász

    D12 TItemClickEvent undeclared identifier

    That is only possible if you have not included FMX.ListBox into the uses clause.
  15. Lajos Juhász

    ICS SSL under Linux x64

    Yes it is, PAnsiChar is a zero terminated string....
  16. I believe this is still the situation.
  17. Lajos Juhász

    Uses units qualifiers?

    On large projects in Delphi XE5 (later they have tried to make it more efficient) Unit scope names have had problems on large projects. the compiler literally tried with every prefix to locate every unit. When I have removed the scope names and changed the source to contain the full unit’s name with scopes, I was able to compile all projects in a project group without a problem.
  18. Lajos Juhász

    Windows versions supported by older Delphis

    Also third party components could in theory use some API not only VCL.
  19. Lajos Juhász

    fmxLinux missing?

    It was mentioned at Delphi 12.2 Webinar. After the death of Eugene Kryukov Embarcadero has no legal agreement to include it with version 12.2. They are working on to make an agreement to continue to include it in future versions of Delphi. https://blogs.embarcadero.com/eugene-kryukov-father-of-firemonkey-and-incredibly-talented-developer
  20. Lajos Juhász

    Delphi roadmap 2024

    In the research area for years there was to replace the IDE and / or make it 64 bit. It is not a secret that they are evaluating the possibilities.
  21. Lajos Juhász

    Delphi roadmap 2024

    They did not mentioned either on the 12.2 presetntation that the premium is required, only that you have to explicitly request it and of course NDA.
  22. Lajos Juhász

    ICS 9.3 SVN SMTP Attachment

    Depends on the version of the Delphi. Code Page aware versions of Delphi is going to do as expected UTF-16 to UTF-8 and on assignment back from UTF-8 into UTF-16.
  23. Lajos Juhász

    install the DelphiMVCFramework

    Using a search on the codebase (I believe) you should install dmvcframeworkDT.dproj from c:\dmvc\packages\d102.
  24. Lajos Juhász

    Scroll an image with mouse (Solved)

    You would like to move the scrollbar by the ammount the user have move the mouse to do so you will need two variables (private fields) that stores the previous mouse coordinates: procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); begin fPRevX:=X; fPrevY:=Y; end; Now when the user moves the mouse while the left button is pressed we can calculate the new position for the scrollbars: procedure TForm1.Image1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); begin if ssLeft in Shift then begin scrollbox1.vertScrollBar.Position := scrollbox1.vertScrollBar.Position+fPrevY-Y; scrollbox1.horzScrollBar.Position := scrollbox1.horzScrollBar.Position+fPRevX-X; fPrevX:=X; fPrevY:=y; end; end;
×