-
Content Count
1168 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
CreateSemaphore/FileLock etc
FPiette replied to hsvandrew's topic in Algorithms, Data Structures and Class Design
I use LockFile or LockFileEx from Windows API. -
Where to put an app in Windows startup and shutdown and sleep mode?
FPiette replied to JohnLM's topic in General Help
Maybe you should write a program to filter Windows event log files which contains all the events you mentioned. Or maybe there is something you don't tell us... -
Maybe look at http://www.DelphiFFmpeg.com
-
TColor breaks memory layout
FPiette replied to dormky's topic in Algorithms, Data Structures and Class Design
Maybe you could consider using "packed record"? -
A friend ask me how to register to the forum. I check and see no link to do that! Could you tell me how to register?
-
What is done exactly?
-
How to remove C++ from RadStudio 12 after installation?
FPiette replied to Bart Kindt's topic in VCL
Sure it is the same ! Nevertheless, uninstall that version completely and reinstall Delphi 12 personality only. -
It is likely a path issue. There are DirectX units in DSPACK which are also in Delphi. Your GDIAPI was probably compiled using Delphi's units while your application is compiled with DSPACK. I suggest you get rid of DSPACK. It is an old thing that is no more maintained. I used it in the past and updated my code to use DirectX units of Delphi.
-
How to remove C++ from RadStudio 12 after installation?
FPiette replied to Bart Kindt's topic in VCL
When installing retail Delphi 12, the installer should have removed the beta version. Try running the installer again and select remove product (or similar item). Then reboot your computer. Then run the installer to install only Delphi. -
How to remove C++ from RadStudio 12 after installation?
FPiette replied to Bart Kindt's topic in VCL
Run Delphi personality only: add "-d Delphi" to the shortcut you use to launch the IDE. See the documentation: IDE Command Line Switches and Options -
Maybe you are doing computation in the OnPaint event. Decouple computation from presentation (the drawing). For the drawing itself, avoid drawing pixel by pixel on screen. Avoid having hundreds of components to draw. Avoid drawing invisible parts. Painting in a bitmap and then blasting the bitmap on screen could be faster than painting on screen directly.
-
Use Process Monitor to spy on which module (DLL, BPL,...) EurekaLogExpert290.bpl try to load.
-
Declaring inline variable inside a loop vs. before the loop
FPiette replied to Marsil's topic in RTL and Delphi Object Pascal
You may either measure the time for both way of doing it, of look at the assembly code generated. -
delphi 12 operator "in" error E2010
FPiette replied to isola's topic in RTL and Delphi Object Pascal
Maybe your are wrong. With dcc64 compiler, Integer is 32 bits and NativeInt is 64 bits. Either define varindex as a NativeInt, or use a cast for count (You cannot have more that 2^31 index in that case). -
You can specify default parameter values in a procedure or function heading. Default values are allowed only for typed const and value parameters. To provide a default value, end the parameter declaration with the = symbol followed by a constant expression that is assignment-compatible with the parameter's type. Parameters with default values must occur at the end of the parameter list. That is, all parameters following the first declared default value must also have default values. function GetWeekDates(const GivenDate: TDateTime; out startDate, endDate: TDateTime; const SOWDay: string = 'SU'): Boolean;
-
Please post in English. Use Google Translate if you don't know English. Edit your message to make it in English. Thanks.
- 12 replies
-
It works seen from here. Does it works for you?
-
That's not how to remove a program. You should have used the installer to remove it because there are many other things (registry keys for example) and other folders. Now you must find all references to the old program and delete it, including hidden files and folders. Do that with administrator privileges.
-
That's correct. Embarcadero want CE user to use the latest version of their product. Anyway, why do you want to use an older version? btw: if you BUY a license, then you may install older versions, even in parallel.
-
Windows 10 not loading the Settings app after 22H2 upgrade/update
FPiette replied to JohnLM's topic in General Help
Does the old "control panel" still work? The Win+R, then enter control in the input field then Enter key. -
Windows 10 not loading the Settings app after 22H2 upgrade/update
FPiette replied to JohnLM's topic in General Help
Which tablet is this (Brand and model)? -
Windows 10 not loading the Settings app after 22H2 upgrade/update
FPiette replied to JohnLM's topic in General Help
Upgrade to Win11. Before upgrading to Win11, make an image of your harddisk on an external disk and create rescue USB key.