Jump to content

Lajos Juhász

Members
  • Content Count

    821
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lajos Juhász

  1. Lajos Juhász

    The Delphi 11.2 release thread

    Do not worry everything is going to work perfectly in the new 64 bit IDE.
  2. Lajos Juhász

    Access Violation using TVariantManager.VarToInt64

    It's obsolated do not use it (as it cannot be used). Checked even in XE5 was deprecated. I wonder why it is not removed from the source.
  3. Lajos Juhász

    how can i pull images from a website using ComboEdit

    You can inspect the source of the webpage. By clicking you execute the javascript: function getImage(clicked) { var enddate = document.getElementById("endDate").value; var endtime = document.getElementById("endTime").value; var duration = document.getElementById("duration").value; var url = "displayUpper.php?img=" + clicked + "&endDate=" + enddate + "&endTime=" + endtime + "&duration=" + duration; window.location.href = url; }
  4. I don't use fmx but https://github.com/project-jedi/jcl should work.
  5. Lajos Juhász

    FaVolumeId??

    From the source: faVolumeID = $00000008 platform deprecated; // not used in Win32 Looks like it was removed from windows.
  6. Lajos Juhász

    Defining a path variable in Seattle

    LocalExe is an environment variable. You can define it at Tools - Options - Environment Variables.
  7. Lajos Juhász

    FireDAC performances

    I am using the Infx driver (based on ODBC) and in that case the data is moved over the network using the db locale (ANSI or UTF-8) and at the FD or ODBC converted to UTF-16, when writing back unfortunately in case of ANSI database the db locale isn't used (instead the windows ANSI code page for non-unicode language and that can corrupt the data). I expect to be similair in case of MSSQL.
  8. So far I tought that the debug information is not correct with shipped FireDAC. However, today I noticed when in Delphi 11.2 I place a break point and the debugger stops the IDE will open a source from XE5 (fore FireDAC) didn't noticed for any other source. Then of course debug will be impossible. How can I fix this problem?
  9. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    No, it's Enterprise.
  10. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    That's correct. I have both $(BDS)\source\data and $(BDS)\source\data\firedac in the Browsing path and yet the IDE only data.db.pas can open correctly and not the FireDAC sources. In order to debug FD I have to rename the XE5 folder.
  11. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    var lUser: TFDQuery; begin .... luser.open; If I set a break point on open and do a step into it will open C:\Program Files (x86)\Embarcadero\Studio\22.0\source\data\data.db.pas (correct D11.2) procedure TDataSet.Open; begin Active := True; end; Step into the Active := true; will open C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\source\data\firedac\FireDAC.Comp.DataSet.pas (Delphi XE5).
  12. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    I noticed only with FD sources, debugging VCL works as expected.
  13. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    Now I tried no active XE5 and yet the IDE opens source from XE5 instead of Delphi 11.2 In the IDE the environment variable BDS is set correctly to c:\program files (x86)\embarcadero\studio\22.0. Even when the IDE is running from the command prompt I cannot inspect the value of this variable. Createad a new variable bds28 and changed the browsing path to use that variable the result is the same the IDE opens the source from XE5.
  14. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    Could be the environment variable in the browsing path - it's in both version BDS. Will have to investigate on this one. I have to use both XE5 (production environment) and 11.2 some future developement. (Now I have to figure out why sometimes TFDQuery.ResourceOptions.cmdExecMode is ignored)
  15. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    Yes, the ide will jump to files from folder C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\source\data.
  16. Lajos Juhász

    Saving ProjectGroups to a new folder

    Skip the IDE and copy files in Windows, then open the project group from the new location?
  17. Lajos Juhász

    2 errors that do not exist?

    Both are false positives as the original messages says (the project builds and runs ok):
  18. Lajos Juhász

    2 errors that do not exist?

    Delphi is known to have false positives in Error Insight.
  19. Lajos Juhász

    Load a PNG directly into the Speed Button Glyph ?

    You cannot assign png to glyph, but you can assign a TImageList or TVirtualImageList to the images property and using imageindex/imagename access the png picture. In order to support high dpi you should consider using TImageCollection and TVirtualImageList (where you can use the imagename property instead of imageindex). (I don't have Delphi 10.3 to test this.)
  20. Lajos Juhász

    Custom component on a VCL frame

    I have the same problem. The frame should be inline but I also have a frame that Delphi uses as object and then you cannot change the properties on the frame. I have no solution spent hours to research the problem. (You cannot just change the DFM).
  21. What happends when you change the SecureProtocols property on the request?
  22. Lajos Juhász

    Write image to database

    This cannot be correct my guess is Contact.Picture:=nil; ???
  23. Lajos Juhász

    Write image to database

    If everything fails read the manual: https://docwiki.embarcadero.com/Libraries/Sydney/en/FireDAC.Comp.DataSet.TFDDataSet.CreateBlobStream
  24. Lajos Juhász

    Issue in copy and past

    I get: 42 N N =DOLLAR(4967.32, 2) =DOLLAR(1515.61, 2) =DOLLAR(0, 2) =DOLLAR(58054.89, 2) =DOLLAR(4084.55, 2) I cannot spot the garbage.
  25. Rebuilding the source without oppening it should be fine. The IDE should save correctly after you edit the files, didn't tried I stay on 100% (bought a 2k monitor in order not to have to change scalling.). If you're the only developer you can test on a single form, if after saving it running the application shows correctly you should be fine.
×