Jump to content

David Hoyle

Members
  • Content Count

    184
  • Joined

  • Last visited

  • Days Won

    2

David Hoyle last won the day on January 1 2023

David Hoyle had the most liked content!

Community Reputation

66 Excellent

1 Follower

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. David Hoyle

    Windows Paint 3D open file using ShellExecute

    A couple of things to check: 1) are you providing the full path to the file? 2) If there are any spaces in the path, it needs to be enclosed in double-quotes. You should also be able to check the return value to understand if there are errors.
  2. Yep. So long as Embarcadero keep to the same registry strategy, It will automatically pick up new versions, so no need to keep developing it (it will even handle new registry points (-rMyNewRegKey).
  3. Do you have any 3rd party packages or IDE experts installed? If so, disabled them and see if the performance returned. If so, re-enabled them progressively to see which one is causing the issue.
  4. I can't find a way of saving or pinning threads like this so have replied instead as this is a goldmine of information. I'm half way through my 3 years on the old way of doing things and that was a nightmare to get the right files in the first place and setup so I was not looking forward to having to change to a token. I think this thread and @Vincent Parrett's blog post could well help everyone. regards Dave.
  5. David Hoyle

    VCL Styles Flickering

    What version of RAD Studio/Delphi are you using?
  6. If people can decide on the grammar to be used I can translate what I've put into the repository.
  7. I can confirm that class variables and properties are not accessible in RS 11.2... Program ClassProppertyRTTI; {$APPTYPE CONSOLE} {$R *.res} Uses System.SysUtils, System.Rtti; Type TMyClass = Class Strict Private FGoodbye: Integer; Strict Private Class Var FHello: String; Strict Protected Public Class Property Hello: String Read FHello; Property Goodbye : Integer Read FGoodbye; End; Var C: TMyClass; Ctx: TRTTIContext; F : TRTTIField; T: TRttiType; P: TRttiProperty; Begin Try C := TMyClass.Create; Try Ctx := TRTTIContext.Create(); T := Ctx.GetType(C.ClassInfo); For F IN T.GetFields Do WriteLn('Field: ', F.Name); For P In T.GetProperties Do WriteLn('Property: ', P.Name); Finally C.Free; End; ReadLn; Except On E: Exception Do WriteLn(E.ClassName, ': ', E.Message); End; End. It only outputs FGoodbye and Goodbye. I didn't actually know this restriction in the RTTI.
  8. David Hoyle

    No GExperts formatter on Windows 11 with elevated IDE

    Does the code formatter work if invoked manually using the menu system? If so, there is something in that environment capturing the keyboard shortcut before GExperts, it could even be something outside the IDE.
  9. I cannot remember (and I don't have RS available) but does the IDE's about dialogue not let you see what packages are loaded? The designide BPL may be being loaded regardless of a registry entry.
  10. Yes, if this is in RS11.2 BUT you should have an entry for designide280.bpl. Do you?
  11. It's an IDE design time package that is used by Open Tools API plugins. I do not believe there are any components in it.
  12. Have you tried debugging the component package using a second IDE to see where the AV is being raised - hopefully it will show you a call stack that might help you isolate the issue. Does an empty package with no component registration cause an AV? In your component code, do you utilise any INITAILIZATION/FINALIZATION sections in your units to create or destroy objects?
  13. It is unlikely you will be able to change this with the IDE running. What does it say in the register under Known Packages and Known IDE Packages (i.e. does it reference the 270 there)?
  14. David Hoyle

    Grep Results dialog..

    Isn't the grep results window not a first-class citizen of the IDE (dockable form) so it should be remember by the desktop layout (mine is).
×