PeterPanettone
Members-
Content Count
1209 -
Joined
-
Last visited
-
Days Won
5
Everything posted by PeterPanettone
-
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
Isn't there a startup parameter for BDS.exe to disallow multiple instances of BDS.exe? (BDS checking if there is already an instance of BDS.exe running). -
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
You did not write where the DANGER MESSAGE can be turned off. -
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
If the upgrader unit is part of the main application then the main application de facto is still not terminated. If this works for your company then this does not mean it works for BDS. -
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
Thanks for verifying this. I suspect that a very short presence o two instances of BDS.exe could have triggered a modal GExperts error message which could have blocked the first instance from terminating (GExperts always shows an error message when an additional BDS instance is created). This looks like the BDS restart procedure consists only of a termination statement ("Close;") followed by a BDS execution statement (or vice-versa). This is what I would call "debile programming". A self-restart should always be done with the help of an external helper program waiting for the EXPLICIT termination of the main program. -
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
Maybe we should define more exactly what "GetIt induced restart fail" means - as my ambiguous statement "the restart does not work" could lead to misunderstandings. For me, "restart fail" means that there are multiple instances of BDS.exe running after a restart is required after a GetIt install. A self-restart should check whether the application is still running (using an external helper program) and restart itself only when it is completely terminated. -
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
I know. You're perfect. -
Patch for Delphi 11 Alexandria available
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
What annoys me most: When the IDE needs to be restarted after a GetIt install, the restart does not work. Most of the time, there are TWO instances of BDS.exe running with lots of error messages. Can someone tell the maker of GetIt how to correctly make a program restart itself? -
I call the time the user has to wait from double-clicking the app program file until the app window becomes visible AND usable the "App Start Time" (AST). If I want to minimize AST, there are different strategies: 1. Instantiate secondary forms dynamically at run-time and not before the user needs that form. The time needed for such dynamic instantiation during the app's run-time usually is neglectable. 2. During AST, show the user a funny animated splash-screen to entertain him, so he becomes unaware of the passing time. Does anybody know of other such strategies?
-
Strategies for minimizing app start time
PeterPanettone replied to PeterPanettone's topic in General Help
That's a good idea! -
Strategies for minimizing app start time
PeterPanettone replied to PeterPanettone's topic in General Help
These are really funny. -
Strategies for minimizing app start time
PeterPanettone replied to PeterPanettone's topic in General Help
I have already tried that. But users say it's not entertaining. -
Strategies for minimizing app start time
PeterPanettone replied to PeterPanettone's topic in General Help
Are you sure that would entertain the user? -
A great way to change things at run-time in Delphi applications is a RUN-TIME OBJECT-INSPECTOR.
-
Strategies for minimizing app start time
PeterPanettone replied to PeterPanettone's topic in General Help
Although that is a good idea, I am unsure whether this could be categorized as a "strategy." -
Parnassus Bookmarks are still not available for Delphi 11 Alexandria. So the old-style Bookmarks have to be used: 1. Bookmarks provided by the IDE in the View menu: 2. CnWizards: 3. GExperts: Are there any other solutions?
-
How to install TWM Delphi Help Expert in Delphi 11 Alexandria
PeterPanettone posted a topic in Delphi IDE and APIs
Thomas has engineered a helpful Delphi Help Expert that allows you to configure various options for different F1 key-combinations: https://blog.dummzeuch.de/delphi-help-expert/ But since there is no package for Delphi 11 Alexandria yet, I instead loaded the DelphiXx103 package in Delphi 11 Alexandria. And since this package is not configured for Delphi 11 Alexandria, I had to add this compiler configuration in \src\u_dzWelcomePageHandler.pas: {$IFDEF VER350} // Delphi/RAD Studio 11.0 Alexandria MajorVersionNumberChar = '28'; {$ENDIF VER350} After this, the package can be installed in Delphi 11 Alexandria. The configuration dialog is somewhat hidden in this submenu: https://i.imgur.com/o8OEIbA.png -
How to install TWM Delphi Help Expert in Delphi 11 Alexandria
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
The text size in the configuration dialog is very small on my VeryHighResolution monitor, so I changed the layout manually from StoneAge®to make it look a little bit more like 21stCentury®: If somebody wants to use this layout, here is it: w_Delphi7HelpForBds.zip -
Expert and Package Manager for Multiple RAD Studio IDEs
PeterPanettone posted a topic in Delphi IDE and APIs
This is a universal Expert and Package Manager for Multiple RAD Studio IDEs (works even with Delphi 11 Alexandria): https://www.davidghoyle.co.uk/WordPress/?page_id=1361 Dave is an Embarcadero MVP and has several other useful tools for Delphi developers on his site. -
Expert and Package Manager for Multiple RAD Studio IDEs
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
It is not possible neither desirable to look inside GExperts configuration from outside. But if you mean the standalone GExperts Expert Manager, Dave's Expert and Package Manager shows the same information as the standalone GExperts Expert Manager. -
I need the GExperts GrepSearch Results to be persistent between IDE sessions. Unfortunately, they are not (r3592). These are the GrepSearch Options: How to make the GExperts GrepSearch Results persistent between IDE sessions?
-
I understand. Good luck. I wish everyone good luck. These are difficult times.
-
I assume you know whether Persistent Search Results is a feature of GExperts or not. So why are you asking ME?
-
Currently, I am using r3592 in Delphi 11. No AV when closing the IDE (some previous versions did). However, I get an AV with CnWizards when closing the IDE. What could be the cause?
-
Today I have loaded a large project written in Delphi 10.4.2, for the first time in Delphi 11 Alexandria. The project had been grown and compiled in Delphi 10.4.2 without problems. So I was very surprised to see 90+ errors in the main unit in Delphi 11. Looking at the errors, they were mostly type-mismatches in method parameters like TShiftState or TMouseButton. First I started to add explicit scope prefixes to the parameters. But that seemed to be lengthy work, so I suddenly had an idea: I moved System.UITypes from the start of the uses clause to the end of the uses clause. That action resolved the problem and all errors disappeared! So why this worked in Delphi 10.4.2, and works in Delphi 11 only after moving System.UITypes to the end of the uses clause?
-
New Type ambiguity in Delphi 11?
PeterPanettone replied to PeterPanettone's topic in RTL and Delphi Object Pascal
Maybe that is an optimistic expression. As the main unit became larger and larger in Delphi 10.4.2 (16,500 lines), strange effects appeared: For example, when adding a new control to the main form (in Delphi 10.4.2), the control's field name was added in the wrong place by Delphi, so I had to move the control's field name manually to the correct place.