Jump to content

Lajos Juhász

Members
  • Content Count

    986
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Proj finding wrong VCL

    Bad packaged unit format: The error is: E2213 Bad packaged unit format %s.%s (Delphi) https://docwiki.embarcadero.com/RADStudio/Alexandria/en/E2213_Bad_packaged_unit_format_%s.%s_(Delphi) In this case it is looking in the vcl.dcp and looking for vcl.forms both the dcp and the unit exists in Delphi. It could be a search path issue, damaged dcp or failed compilation on the source. In earlier versions when I got similar errors the solution was to compile every package that my application uses. Then the error magically disappeared (in those cases the compilation never failed, however the compiler failed to locate the correct files. A 32-bit application that uses runtime packages).
  2. Lajos Juhász

    New to delphi

    That is correct.
  3. Lajos Juhász

    New to delphi

    No VCL application should try to compile DesignIntf.pas it is a violation of the licence. Only a runtime package can use it.
  4. Lajos Juhász

    New to delphi

    Unfortunately not enough details. If you get this while you are compiling a design time package you should add designide to the required section. DesignConst is still part of the Delphi (it is located in the source\toolsapi folder). Make sure that any runtime package does not use the designide.
  5. Lajos Juhász

    The function of EmptyWorkingSet

    You should read more about memory managers. The memory manager will not always return the allocated memory to OS. It's not only Delphi but every single other language works that way. You can google it easily.
  6. Lajos Juhász

    DLL access error

    During the debug you must get a call stack.
  7. Lajos Juhász

    Possible Delphi 12.1 inheritance bug, could someone test also

    I saw this in Delphi 11.2, whenever I open those files in D12.1 it removes them.
  8. Lajos Juhász

    Memo and html

    In that case you will have to implement it yourself.
  9. Lajos Juhász

    ...cannot contact a domain controller..

    Why are you unhappy with Embarcadero if you have permission problems with your regular account?
  10. Lajos Juhász

    Delphi and "Use only memory safe languages"

    Also until developers did not start to use multiple languages.
  11. Lajos Juhász

    Trackbar height, fmx, android

    I don't have Android platform at the moment. On Windows you can change the scale.y to a value <1 to get a smaller trackbar.
  12. Lajos Juhász

    Delphi and "Use only memory safe languages"

    During code review I can find cases when the developer assumes that the strings are zero based.
  13. Lajos Juhász

    Delphi and "Use only memory safe languages"

    The mobile platform was a failed experiment to move string to be zero based.
  14. Lajos Juhász

    ActionList Editor: New Standard Action...

    I can confirm that it does work.
  15. There is only limited information here: https://docwiki.embarcadero.com/Support/en/“ERROR_ITMS-90507:_Missing_Info.plist_value._A_value_for_the_key_'DTPlatformName'_is_required”_when_submitting_an_app_to_the_iOS_App_Store
  16. Lajos Juhász

    ActionList Editor: New Standard Action...

    With no 3rd party installed it is very fast, I get the list instantly. Get a cat, dogs are boring.
  17. Compile the fmx application for windows 32 platform. (Unfortunately) The (only) most stable platform to debug delphi application.
  18. It really depends how many Delphi versions you have to support. The change is documented and was made to make life easier to integrate with other programming languages. Mora information: https://dalijap.blogspot.com/2023/09/coming-in-delphi-12-disabled-floating.html https://docwiki.embarcadero.com/RADStudio/Athens/en/Floating_Point_Operation_Exception_Masks
  19. Lajos Juhász

    Set form in read only mode

    A more details could help. One solution can be to place a panel onto the form where you place your UI controls. If the record is lock set the enabled proprty of the panel to false.
  20. Lajos Juhász

    problems deploying skia

    It was a request to change the exception to a proper message before Embarcadero included it in D12. Unfortunately the answer was it is a known limitation of Delphi.
  21. Lajos Juhász

    Custom Control for TDBCtrlGrid showing only active data

    The paint method is to paint on the canvas not to set a property value.
  22. Lajos Juhász

    Custom Control for TDBCtrlGrid showing only active data

    During the Paint method you have to handle csPaintCopy in ControlState (you can check in Vcl.DBCtrls).
  23. Lajos Juhász

    {$Defines xxxx} not working at design time..

    The IDE can be strange from time to time. I have a unit that I cannot edit it. If you try to add a property the editor will jump to another line. The only way to edit is to paste the text from another editor. I have tried to create a sample project to reproduce the bug and report it and failed. When I copy the class that fails in the text project I cannot reproduce the bug.
  24. Lajos Juhász

    {$Defines xxxx} not working at design time..

    In D12.1 the units I have tested the color is changed after 0-15 seconds.
×