Jump to content

Cristian Peța

Members
  • Content Count

    397
  • Joined

  • Last visited

  • Days Won

    5

Cristian Peța last won the day on August 15 2024

Cristian Peța had the most liked content!

Community Reputation

108 Excellent

2 Followers

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Cristian Peța

    SQLite insert size beyond declaration

    Have you tried FideDAC Mapping? From the link provided by Dmitry I see two things you can try (specify type name in column alias and mapping):
  2. Cristian Peța

    Uploading photos to a web host.

    It's better to avoid antifreeze and do the transfer in a separate thread using TTask for example.
  3. Cristian Peța

    Using Camera in Android 9 under Delphi 12.1 CE

    https://docwiki.embarcadero.com/RADStudio/Athens/en/Supported_Target_Platforms Maybe 12.0 supported Android 8.1 but 12.2 not. And if you filter the log only for your app at the and in the last page(s) should be some clues for why app closes.
  4. Cristian Peța

    Using Camera in Android 9 under Delphi 12.1 CE

    I suppose you know that Android 9 is not supported by Delphi 12. A log or a message of the error would help to have a better response.
  5. Cristian Peța

    Can't return string from class function on Android

    That means that TLocalDefault.GetStringValue returns expected string? Result in GetStringValue is what you expect?
  6. Cristian Peța

    Switch from JCL to EurekaLog

    EurekaLog can send data to a bug tracker. See https://www.eurekalog.com/help/eurekalog/index.php?bug_trackers_setup.php We use MadExcept and data are sent to Mantis that uses MySQL (actually MariaDB). An SQL server can handle a huge amount of data.
  7. Cristian Peța

    for loop variable value after the loop

    I think this should be reported. Something like this I discovered in FastReport and it surfaced in rare circumstances. First when I reported it was ignored till I come with a case to reproduce. Because this, the report should have also the link to documentation.
  8. Cristian Peța

    for loop variable value after the loop

    https://docwiki.embarcadero.com/RADStudio/Athens/en/W1037_FOR-Loop_variable_'%s'_may_be_undefined_after_loop_(Delphi)
  9. Cristian Peța

    P4D Android visual component

    tqdm is a text output "progress bar" for a console app. And you want to show this text output along a graphic ProgressBar from FMX? Probably in something like TMemo component?
  10. Cristian Peța

    Delphi 12.2 Patch 1

    You installed 12.2 Patch 1 that is binary compatible with 12.1 but not with 12.2. If you installed some components compiled for 12.2 then it is understandable that your 12.2 Patch 1 IDE is unstable. Can this be the case or you are sure all your third-party components are compatible with 12.2 Patch 1 and 12.1?
  11. Cristian Peța

    Using Python4Delphi library in a Windows service

    But then it should setup Python engine to run in other thread context. I don't think it is worth.
  12. Cristian Peța

    Using Python4Delphi library in a Windows service

    PythonEngine appears to be nil. Did you checked there if Self is nil?
  13. Cristian Peța

    Using Python4Delphi library in a Windows service

    I am not sure right now but I suppose ServiceCreate and ServiceExecute are not in the same thread. Why not creating PythonEngine in ServiceExecute?
  14. Cristian Peța

    Distributing application that connects remote MySQL/MariaDB servers

    The protocol doesn't change suddenly. You need to install a new MySQL version for that to happen. In this case you need to check that the library you use for connection supports that version: https://docwiki.embarcadero.com/Status/en/FireDAC_Database_Support Same for MyDAC: https://www.devart.com/mydac/compatibility.html
  15. Cristian Peța

    "Divided by zero" exception

    As a side note. unit Vcl.Edge; .... initialization FSetExceptMask(femALLEXCEPT); SHDocVw, Vcl.Edge and other units set the mask. If someone is using TWebWrowser for example all exceptions are masked but not on all machines is so and I do not have time now to investigate why.
×