Jump to content

FPiette

Members
  • Content Count

    1168
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by FPiette

  1. FPiette

    Bringing TGlobe from D5 to present day

    One may create an issue at the GitHub repository just to ask for licensing.
  2. FPiette

    How many people use Delphi?

    Probably 98% of Delphi users don't care about math speed for what they have to do. Only those doing math intensive applications do care. So you care and Patrick doesn't, me neither
  3. FPiette

    Compiler Linker Question

    Yes, a packed record is the way to go to control memory layout as much as possible.
  4. FPiette

    Bringing TGlobe from D5 to present day

    That would be a great idea if you update the repository once you updated the code for Delphi 11.
  5. FPiette

    RpShell not found

    Look at the documentation! It is available from https://www.nevrona.com/download/ You need to have a license. Contact them if you can't find your license anymore. Don't ask use to help you make an illegal use of their product.
  6. FPiette

    RpShell not found

    The download link is: https://www.nevrona.com/download/
  7. FPiette

    New installation and old program

    Well, how do you explain that a .PAS file actually contained JPG data? If you have not renamed, you copied a jpg over a pas file. btw: There is no shame to make an error. That's how we learn.
  8. FPiette

    RpShell not found

    Just find the unit. For a better answer, explain the context !
  9. FPiette

    New installation and old program

    @georges pletinckxI'm interested to know if - as I guessed - you had renamed a JPG file to .PAS.
  10. You probably need to right click on "design" packages (win32 platform only) and select "install" in the popup menu.
  11. FPiette

    New installation and old program

    @KodeZwerg That is basically the same answer as I gave yesterday... He probably got a screen dump of the source code as a jpg image and renamed the file to .pas thinking this is the way to get the actual source code 😄😄😄 Of course it isn't...
  12. FPiette

    New installation and old program

    It looks like you Calcul.pas file is not a Delphi source code. Given we see "EXIF", it is possible that it is a JPG or other image format. If you open Calcul.pas using Notepad, does it display garbage?
  13. FPiette

    Project Directory

    I project / Options / Delphi, change "Output Directory" to whatever you want. You should also change "Unit output directory" which is where the DCU are going. It is better to use the macros $(Platform) and $(Config) so that the destinations are different for all platforms and configurations.
  14. FPiette

    Component installation.

    What are the error messages you get?
  15. Run your application under the debugger and set a break point on the line "FTimer.Enabled := True;". Check FTimer value. It is likely FTimer is nil at that moment. Show the code in your component source code where you create the TTimer instance.
  16. I wrote a simple shell property sheet handler using Delphi 11. It works perfectly when I register it for all file types. But it does nothing (My property page not shown) when I Register it for a specific file type. Registration for all file types: // Error handling removed for clarity Reg := TRegistry.Create; Reg.RootKey := HKEY_CLASSES_ROOT; if Reg.OpenKey('\*\ShellEx\PropertySheetHandlers\MyDelphiPropSheetHandler', True) then begin Reg.WriteString('', ClassID); Reg.CloseKey; ClassID is registered as part of the COM server. This is done automatically by Delphi RTL. Registering for a single file type: I simply replace "*" in the above code by the file extension which is ".arw" in my case: // Error handling removed for clarity Reg := TRegistry.Create; Reg.RootKey := HKEY_CLASSES_ROOT; if Reg.OpenKey('\.arw\ShellEx\PropertySheetHandlers\MyDelphiPropSheetHandler', True) then begin Reg.WriteString('', ClassID); Reg.CloseKey; This simply does nothing. No error, just nothing. The key is correctly written in the registry. What am I doing wrong?
  17. My experience (Win11) shows that it DOESN'T WORK for some file extension, specifically the one that was my target (.arw).
  18. That's what I do in my property sheet and so far (win11) I don't see any adverse effect.
  19. @Anders Melander I had the opportunity to test on Win7. The behavior is the same as on Win 10 and 11: it is enough to register it in the SystemFileAssociations. No need to register the class for the file extension nor the file class.
  20. FPiette

    Websockets

    Angus already replied to that question, didn't he?
  21. FPiette

    Error in OverbyteIcsLIBEAY

    If you want to use OpenSSL related functions, you must load it first.
  22. FPiette

    Bugs - where to write to fix it?

    You are not reporting bugs but features you would like to be added. You can add many features yourself if you derive you own component from the original. And you even have full source code for the original if you need to understand inner working. You can submit bug report or feature request to https://quality.embarcadero.com
  23. FPiette

    Websockets

    http://wiki.overbyte.be then follow download and read the page with all options.
  24. FPiette

    Copy bitmap from one app to another app bitmap

    Warning: object such as TBitMap in the DLL will not be recognized as a TBitmap in the EXE, unless they both use run-time packages.
  25. FPiette

    New OpenSSL release 3.1.0

    It is up and running now. Sorry.
×