Jump to content

vhanla

Members
  • Content Count

    35
  • Joined

  • Last visited

Posts posted by vhanla


  1. https://quality.embarcadero.com/browse/RSP-27564

     

    I reported that issue, hopefully you can help me to avoid this issue.

     

    I'm including constants of large strings as it will be embedded in the executable, each constant has many characters, because they contain compressed javascript libraries, previous Delphi versions didn't have any issue with these, maybe is because of the recent changes to the variable declaration, I'm not sure, but this one just hangs and closes without any warning.

     

    Here I include a demo that crashes after opening it.

    CrashIDE.zip


  2. This is the second time this is happening to my Delphi Rio Community Edition.

     

    image.png.7da9ac7fb8dbb4d991cbec3e38cbfed9.png

     

    I don't know why it occurs, it shows that error `Failed to create key Globals` and doesn't even allow to close the IDE. After forcing (Task Manager) to close it, and restarting the IDE, it asks for the license, but in license manager my license is registered.

    image.png.ade10b70e6f5d559cc70f04d7cfceb1e.png

    I also removed it, and imported again, but it shows the following window.

    image.png.b6c4a98869babc91bc0e7167856e9986.png

    As I mentioned this happened before, the only way to fix that was to uninstall Delphi and install it again using that reg txt file, even activates online. I suppose somehow license manager gets corrupted. I don't know.

     

    Here is the full error message:

    [503560A5]{rtl260.bpl  } System.Win.Registry.TRegistry.CreateKey (Line 328, "System.Win.Registry.pas" + 9) + $2
    [503589F7]{rtl260.bpl  } System.Win.Registry.TRegistryIniFile.WriteDate (Line 1437, "System.Win.Registry.pas" + 18) + $2
    [004B9CDB]{bds.exe     } AppMain.TAppBuilder.LetsGetPhysical (Line 6863, "AppMain.pas" + 4) + $17
    [5005A248]{rtl260.bpl  } System.@GetMem (Line 4791, "System.pas" + 20) + $0
    [50061B3E]{rtl260.bpl  } System.@NewUnicodeString (Line 25168, "System.pas" + 10) + $0
    [004DB298]{bds.exe     } SanctuaryChecker.TLicenseManager.ValidateLicenses (Line 1207, "SanctuaryChecker.pas" + 28) + $5
    [500679A8]{rtl260.bpl  } System.@IntfClear (Line 38159, "System.pas" + 10) + $0
    [50063FD8]{rtl260.bpl  } System.@FinalizeArray (Line 32812, "System.pas" + 144) + $0
    [0C3D1CC2]{themeloader260.bpl} Idetheme.Stylemanager.TIDEThemeStyleEngine.UnRegisterSysStyleHook + $106
    [50D197BC]{vcl260.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10122, "Vcl.Controls.pas" + 10) + $48
    [50D19D47]{vcl260.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10278, "Vcl.Controls.pas" + 166) + $6
    [223F679B]{delphide260.bpl} DelphiProject.TDelphiCodeIWin32Project._AddRef (Line 387, "DelphiProject.pas" + 1) + $1
    [5005FA28]{rtl260.bpl  } System.TObject.GetInterface (Line 17832, "System.pas" + 8) + $A
    [50E65245]{vcl260.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4652, "Vcl.Forms.pas" + 209) + $5
    [208F7194]{coreide260.bpl} DocModul.TCodeIDocModule.QueryInterface (Line 2692, "DocModul.pas" + 2) + $0
    [0C3F4FA6]{themeloader260.bpl} Idetheme.Styles.Nc.TNCContainer.FormWndProc + $206
    [50D14ECC]{vcl260.bpl  } Vcl.Controls.TControl.Perform (Line 7198, "Vcl.Controls.pas" + 10) + $8
    [50D14EE4]{vcl260.bpl  } Vcl.Controls.TControl.Perform (Line 7268, "Vcl.Controls.pas" + 1) + $4
    [50D13942]{vcl260.bpl  } Vcl.Controls.TControl.GetTextBuf (Line 6253, "Vcl.Controls.pas" + 0) + $6
    [50D139ED]{vcl260.bpl  } Vcl.Controls.TControl.GetText (Line 6311, "Vcl.Controls.pas" + 5) + $E
    [5005A264]{rtl260.bpl  } System.@FreeMem (Line 4839, "System.pas" + 20) + $0
    [50061BF8]{rtl260.bpl  } System.@UStrClr (Line 25388, "System.pas" + 14) + $0
    [223F67AB]{delphide260.bpl} DelphiProject.TDelphiCodeIWin32Project._Release (Line 392, "DelphiProject.pas" + 1) + $1
    [5005A264]{rtl260.bpl  } System.@FreeMem (Line 4839, "System.pas" + 20) + $0
    [50061C5D]{rtl260.bpl  } System.@UStrArrayClr (Line 25537, "System.pas" + 16) + $0
    [004AEF3C]{bds.exe     } AppMain.TAppBuilder.UpdateCaptionNow (Line 3023, "AppMain.pas" + 112) + $7C
    [5005FA28]{rtl260.bpl  } System.TObject.GetInterface (Line 17832, "System.pas" + 8) + $A
    [5005FA71]{rtl260.bpl  } System.TObject.GetInterface (Line 17839, "System.pas" + 15) + $10
    [50068DF3]{rtl260.bpl  } System.TInterfacedObject.QueryInterface (Line 39295, "System.pas" + 1) + $8
    [500679EE]{rtl260.bpl  } System.@IntfCast (Line 38281, "System.pas" + 12) + $0
    [004AF590]{bds.exe     } AppMain.TAppBuilder.Idle (Line 3113, "AppMain.pas" + 34) + $1A
    [50ECDE79]{vcl260.bpl  } Vcl.AppEvnts.TCustomApplicationEvents.DoIdle (Line 243, "Vcl.AppEvnts.pas" + 1) + $C
    [50ECE6A2]{vcl260.bpl  } Vcl.AppEvnts.TMultiCaster.DoIdle (Line 515, "Vcl.AppEvnts.pas" + 5) + $E
    [50E6F9AD]{vcl260.bpl  } Vcl.Forms.TApplication.Idle (Line 11325, "Vcl.Forms.pas" + 7) + $1C
    [50E6EC83]{vcl260.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10777, "Vcl.Forms.pas" + 1) + $11
    [50E6EFA9]{vcl260.bpl  } Vcl.Forms.TApplication.Run (Line 10915, "Vcl.Forms.pas" + 26) + $3
    [0051D022]{bds.exe     } bds.bds (Line 214, "" + 7) + $7

    I've tried to clean ProgramData Embarcadero folder, reimported license, it succeded but it shows the same window (above picture).

     

    Does anyone know how to reactivate without reinstalling Delphi? Why it occurs? Apart from being a tedious work, it is annoying to reinstall third party Delphi packages (not from Get It), specially MANUALLY inserting each path for each packages.

     

     

     

     


  3. Anyone else having errors with undo (Ctrl+Z)?

    It leaves empty spaces instead of restoring previous content.

     

    I just installed madException 5, but I don't know if that has something do with it.

    It does that randomly after some time of usage. After restarting it works fine again.

     

    I don't know if madException has something to do with it, because sometimes when I press Ctrl+Shift+C for a function without returning type (like a procedure) in order to populate its implementation, it raises and exception. But I don't know if that correlates to undo bug. I guess I have to check this bug uninstalling it.


  4. Does it support duplicated key names? e.g. PHP.ini uses for listing multiple extensions


     

    [PHP]
    extension=mysqli
    extension=openssl
    ;extension=pgsql <-- toggling commented keys would be a plus 😛 (just kidding)

     

     

     

     

     

     

     


  5. I'm trying to compile Terra-Engine samples, I added all the paths for its different directories (library). However, when trying to edit `billboards_simple` sample or others too, code completion hangs the entire IDE turning it useless, e.g. if I write `Length(` and IDE tries to automatically show the tooltip description/suggestion, the IDE also hangs.

     

    I uninstalled all other IDE extensions/plugins, restarted and the same error happens.

     

    Well it responds after a very, very, veeeeery long time, but without even showing code completion nor suggestion tooltips. Very long that it is better to kill process and restart.

     

    Steps to reproduce:

    Open any Terra-Engine sample and edit it (previously added all engine paths to library).

    After pressing `ctrl+space`, `ctrl+shift+space` or `automatic tooltip description/suggestion after writing "(" on any procedure call` or `ctrl+click` it shows and cursor shows a busy icon, if I click anywhere else, the IDE hangs.

     

    Work around: Do not click and instead press ESC (right away) and continue.

     

    I suppose this is because the engine is very large and that's why the delay is very long that it "hangs" it.

    image.png.a968aa6e2de20fcf2194c9b08db2ff60.png

     

    I set Code Insight delay from None to Slow, and it gets worse, it doesn't even allow to ESCape.

     

    Hitting Esc key each time '(' character is written is annoying, so I had to disable on (Options | Editor Options | Code Insight | Code parameters) in order to ignore '(' parameters tooltip suggestion.

     

    image.png.98c85ec113a8f6bc0b8afe348e579466.png

    However, parameters popup on mouse hover works normally.

     

    I don't know if it is my current installation, or Delphi version, so I just mention here, maybe is a bug already reported, maybe even fixed.

     

    Does it happened to you? On other/your projects?

     

     

    BTW: Delphi version is 10.2 Update 3 25.0.31059.323

     

     

×