Jump to content

FPiette

Members
  • Content Count

    1120
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by FPiette

  1. Not directly possible. If you explain why you think need that, and given an example of usage (the call!), maybe we can give a better answer...
  2. FPiette

    How many people use Delphi?

    No, you are doing wrong. You are making a shortcut. 98% of Delphi users don't care about math speed for what they have to do with Delphi.
  3. FPiette

    Bringing TGlobe from D5 to present day

    One may create an issue at the GitHub repository just to ask for licensing.
  4. 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
  5. FPiette

    Compiler Linker Question

    Yes, a packed record is the way to go to control memory layout as much as possible.
  6. 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.
  7. 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.
  8. FPiette

    RpShell not found

    The download link is: https://www.nevrona.com/download/
  9. 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.
  10. FPiette

    RpShell not found

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

    New installation and old program

    @georges pletinckxI'm interested to know if - as I guessed - you had renamed a JPG file to .PAS.
  12. You probably need to right click on "design" packages (win32 platform only) and select "install" in the popup menu.
  13. 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...
  14. 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?
  15. 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.
  16. FPiette

    Component installation.

    What are the error messages you get?
  17. 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.
  18. 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?
  19. My experience (Win11) shows that it DOESN'T WORK for some file extension, specifically the one that was my target (.arw).
  20. That's what I do in my property sheet and so far (win11) I don't see any adverse effect.
  21. @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.
  22. FPiette

    Websockets

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

    Error in OverbyteIcsLIBEAY

    If you want to use OpenSSL related functions, you must load it first.
  24. 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
  25. FPiette

    Websockets

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