Jump to content

FPiette

Members
  • Content Count

    1168
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by FPiette

  1. I use LockFile or LockFileEx from Windows API.
  2. 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...
  3. FPiette

    How do I execute FFMPEG from inside a VCL App?

    Maybe look at http://www.DelphiFFmpeg.com
  4. Maybe you could consider using "packed record"?
  5. 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?
  6. FPiette

    ICS V9.0 - mobile platforms

    What is done exactly?
  7. FPiette

    How to remove C++ from RadStudio 12 after installation?

    Sure it is the same ! Nevertheless, uninstall that version completely and reinstall Delphi 12 personality only.
  8. FPiette

    dspack

    Avec plaisir.
  9. FPiette

    dspack

    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.
  10. FPiette

    dspack

    Just look at the GetEvent declaration and the declarations of you variables. BTW: Do you know that DirectX API exists now in Delphi. It was missing when DSPACK was created but now it exists.
  11. FPiette

    dspack

    Is it what you are looking for: https://github.com/YepSfx/DSPack
  12. FPiette

    How to remove C++ from RadStudio 12 after installation?

    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.
  13. FPiette

    How to remove C++ from RadStudio 12 after installation?

    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
  14. FPiette

    How to break up an OnPaint event?

    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.
  15. FPiette

    Upgrading EurekaLog for Delphi 12

    Use Process Monitor to spy on which module (DLL, BPL,...) EurekaLogExpert290.bpl try to load.
  16. You may either measure the time for both way of doing it, of look at the assembly code generated.
  17. 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).
  18. FPiette

    Set a default parameter for a function??

    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;
  19. FPiette

    New proyect in Delfos

    Please post in English. Use Google Translate if you don't know English. Edit your message to make it in English. Thanks.
  20. FPiette

    ICS V9.0 announced

    It works seen from here. Does it works for you?
  21. FPiette

    Can not install Delphi Community Edition 11.2

    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.
  22. FPiette

    Can not install Delphi Community Edition 11.2

    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.
  23. Does the old "control panel" still work? The Win+R, then enter control in the input field then Enter key.
  24. Which tablet is this (Brand and model)?
  25. Upgrade to Win11. Before upgrading to Win11, make an image of your harddisk on an external disk and create rescue USB key.
×