Jump to content

Remy Lebeau

Members
  • Content Count

    3087
  • Joined

  • Last visited

  • Days Won

    139

Remy Lebeau last won the day on August 19

Remy Lebeau had the most liked content!

Community Reputation

1674 Excellent

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

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

  1. Remy Lebeau

    Not greying out inactive code

    https://en.delphipraxis.net/topic/7289-line-break-after-i-type-if/
  2. Yes, there is - use the TThread.OnTerminate event to signal your waiting code, such as via a TEvent object. Just know that the event handler is called in the main thread, so if that will cause a sync issue, you can always override the TThread.DoTerminate() method to call the OnTerminate handler directly (or do anything else) without syncing it, as DoTerminate() is called in the worker thread and calls the OnTerminate handle via TThread.Synchronize() by default.
  3. Remy Lebeau

    Not greying out inactive code

    So you are saying it was working the other day in 13 and now its not? Or, were you using an older version before and then upgraded to 13 and it stopped working?
  4. Remy Lebeau

    Can't set Property Editor for Set or Enum

    What are you trying to accomplish, exactly? Do the default property editors work correctly without registering your custom editors? Why are you registering the editor for Boolean instead of TTestValue?
  5. Remy Lebeau

    How to handle conflicting modal popups

    Worse case, you can try manually setting the modal dialog's PopupParent to the active form (the VCL should already be doing that, but maybe its buggy?).
  6. Remy Lebeau

    D13 already has a patch

    The 1st patch was supposed to fix a problem with missing Indy components. It didn't work. There is a 2nd patch to fix that. https://www.indyproject.org/2025/09/28/indy-patches-for-rad-studio-13-florence/
  7. Remy Lebeau

    UIAutomation in Delphi 13

    Hmm, I don't think they should have re-declared IAccessible. They should have had Winapi.UIAutomation use Winapi.oleacc instead. Even the SDK uiautomationcore.h header doesn't redeclare IAccessible. The new IAccessibleEx inherits from the IAccessible in oleacc.h. Agreed. I would say it needs more work.
  8. Remy Lebeau

    RAD Studio 13 is available

    cgrc.exe is for the IDE's internal use when invoking rc.exe with brcc32-style parameters. If a script wants to invoke rc.exe then it should probably just invoke it directly.
  9. Remy Lebeau

    Recover from call to dll that doesn't return

    Have you considered moving your audio processing into a separate process of its own that your main program can communicate with. If the processing times out then your main program can kill and restart that separate process. That way, you don't have to kill your main program.
  10. Remy Lebeau

    UIAutomation in Delphi 13

    It is possible with some additional tweaking. You can go into the compiler's linker options and set the PE header OS Version and SubSystem Version fields to 5.0 for Win2K or 5.1 for XP. Also, if you use the System.Threading unit then make a copy of it, modify it to call GetTickCount() instead of GetTickCount64() on pre-Vista systems, and then add the copy to your project.
  11. Remy Lebeau

    RAD Studio 13 is available

    It's not a bug. Starting with 13, the Windows SDK is no longer bundled with the IDE, it needs to be installed separately, and rc.exe is part of the SDK: https://docwiki.embarcadero.com/RADStudio/Florence/en/What's_New#Installation_Process_Updates A new open-source resource compiler named resinator has been added in 13 and is now the default: https://docwiki.embarcadero.com/RADStudio/Florence/en/What's_New#Resource_Compiler So, if you want to continue using rc.exe, you need to install the Windows SDK (or copy it from an earlier installation, as you found). At the project level, you can configure which resource compiler to use (brcc32, resinator, or rc): https://docwiki.embarcadero.com/RADStudio/Florence/en/Resource_Compiler_Options
  12. Remy Lebeau

    New Delphi features in Delphi 13

    I'm human and even I don't understand the question you asked it. You can't write code that targets just RAD Studio itself, because it is not a separate compiler of its own. It uses either the Delphi compiler or the C++Builder compiler. RAD Studio simply bundles them together under one IDE. That's also why you can't have Delphi(Standalone) + RADStudio or C++Builder(Standalone) + RADStudio installed together. The standalone versions are just slimmed down versions of RAD Studio. One IDE, multiple personalities.
  13. Remy Lebeau

    How to zip sources larger then 4GB?

    It was added in Delphi 11 Alexandria: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/What's_New#RTL:_TZipFile
  14. Remy Lebeau

    comdef.h missing from RAD Studio 13.0?

    https://docwiki.embarcadero.com/RADStudio/Florence/en/What's_New#Installation_Process_Updates comdef.h is one of many SDK headers affected by this change. As _bstr_t and _com_error are Win32 classes, you will need to install the Windows SDK to continue using them.
  15. Remy Lebeau

    How to zip sources larger then 4GB?

    Seconded.
×