Jump to content

Lajos Juhász

Members
  • Content Count

    796
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Creating FMX controls in a background thread

    You can have a strong belief that the Earth is flat but that will not change the fact that isn't. Yes, I know that the Flat Earth Society has members from all around the globe.
  2. For Delphi the future could be Skia. There was a weak promise that in the next major release maybe the VCL is going to use it.
  3. Lajos Juhász

    memory paging or segmentation

    ballpointer:=ballpointer+1; // +1 here is SizeOf Most probably you're using a Unicoder version of Delphi where the compiler is aware that PChar is 2 bytes.
  4. Lajos Juhász

    memory paging or segmentation

    You should post a real demo that we can compile where you get that kind of error. When it's correctly you can not get thet runtime error.
  5. Lajos Juhász

    Retrieving Android Device IP Address Problem

    Only Delphi 11 supports binary constant in the code prefixed with %. In order to use the source in older version of Delphi you should convert the constant to hex or decimal numbers.
  6. Lajos Juhász

    Alexandria 11.3 - Firedac/OnValidate String Field

    Unfortunately I can reproduce the bug.
  7. Lajos Juhász

    D11 Update 1 + FireDAC + ODBC to Sage returning wrong data!

    Now I see that TFDDataSet.SaveToStorage indeed is calling CheckFetchedAll - now I would like to know the reason why is that required.
  8. Lajos Juhász

    D11 Update 1 + FireDAC + ODBC to Sage returning wrong data!

    You cannot hook up DB controls to an unidirectional query but that should not stop you from inspecting and saving it. I am using FireDAC with ODBC driver from the first version (to connect to Informix database). The data is never corrupted. The only problem I am aware is when writing to database FireDAC ignores the database locale and uses the default Windows locale for non-unicode language to write data.
  9. Lajos Juhász

    JEDI Installation Annoyances 10.4

    You get an error message because the package you try to install is a run time, not a design time package
  10. Lajos Juhász

    How to remove metadata from Word document (using OLE)

    I believe you would have to do that in Word: (WINDOWS) Microsoft Word 2010, 2013, 2016: Go to “File” Select “Info” Click on “Check for issues” Click on “Inspect document” In the “Document Inspector” dialog box, select the check boxes to choose the types of hidden content that you want to be inspected. Click “Remove All” Click “Close” Save the document.
  11. Lajos Juhász

    Async/Await with updating visual controls

    Today it's an example. Tomorrow you or somebody else sees the code and use it in a real application. Copy paste errors are always a fun thing to search for or debug.
  12. Lajos Juhász

    Delphi 11.3 is available now!

    Same for me, it would be easier to create bug reports.
  13. Lajos Juhász

    Delphi 11.3 is available now!

    My bet is on stack overflow. You should try to debug the IDE to catch the reason.
  14. Lajos Juhász

    Delphi 11.3 is available now!

    It's also bad idea that they've changed the install folder for KonopkaControls when installed from GetIt. If you have multiple registry entries you have to update them manually (IMHO there should be options when downloading from GetIt to update it).
  15. Lajos Juhász

    GExperts formatter in 11.3

    Didn't noticed it's Gexpert....
  16. Lajos Juhász

    Delphi 11.3 is available now!

    GetIt worked ok 4.5 hours ago.
  17. Lajos Juhász

    FreeAndNil 10.4 vs 10.3.1 and Pointers

    Nice catch, first read the full documentation of the procedure: Embarcadero Technologies does not currently have any additional information. If you're for some strange reason not satisfied with the official documentation check out the source code: { CPPFreeAndNil is a helper to implement a C++ type-safe FreeAndNil }
  18. Lajos Juhász

    Error in module rtl200.bpl

    If it's Embarcaderos fault it's tough to report it. I have had a situation when the IDE gave me the dialog to report a bug, it generates everything including the call stack. Even after submiting it I was asked for a test case (in my case it is impossible to give) while the call stack should help a developer to locate the error. In this case the first step should be to generate a call stack to see where to search for the bug.
  19. Lajos Juhász

    Rest Server

    The easiest way to use it: ShowMessage(WhichFailedToLoad()); I am not sure that those dlls are shipped with Delphi. There are some old threads about this error like
  20. Lajos Juhász

    Rest Server

    You can try WhichFailedToLoad from IdSSLOpenSSLHeaders to see which dll failed. Maybe a dependency on the dll. From where did you downloaded the open SSL dlls?
  21. Lajos Juhász

    How to enter unicode symbols into the Delphi IDE

    For me the easiest way is to use the character map copy - paste it into the source. Tested using var Φ: real; begin Φ:=5.8; showmessage(FloatToStr(Φ)); end;
  22. Lajos Juhász

    Puzzled by StrToDate

    FMX is just another reason to keep up with the Delphi version. Unlike Windows, other platforms are not backward compatible.
  23. Lajos Juhász

    Puzzled by StrToDate

    BDE (Borland Database Enginge) is deprecated for about 20 years you should not use that. If you are referencing to the Delphi version you should use the official one that everyone can understand.
  24. Lajos Juhász

    Puzzled by StrToDate

    If you are looking how the Delphi is converting the month names you can search for @AFormatSettings.ShortMonthNames in the System.SysUtils.
  25. Lajos Juhász

    Puzzled by StrToDate

    Using Delphi 11.2 update 1 the code works correctly.
×