Jump to content

Ondrej Kelle

Members
  • Content Count

    55
  • Joined

  • Last visited

  • Days Won

    1

Ondrej Kelle last won the day on January 21 2019

Ondrej Kelle had the most liked content!

Community Reputation

43 Excellent

1 Follower

Recent Profile Visitors

636 profile views
  1. Ondrej Kelle

    Delphi AES encryption/decryption

    Also, CryptoLib4Pascal (MIT license)
  2. Ondrej Kelle

    Looking for Icon Fonts support in Delphi for High-DPI and Themed app?

    If you wanted to avoid the requirement of having the fonts installed globally in Windows you could write a design package with the fonts linked in as resources. The package, when loaded by the IDE, could load the fonts from the resources (using the code shown by @Attila Kovacs) and call Screen.ResetFonts to signal the IDE to reinitialize its font list . After that the fonts would be available to the IDE.
  3. Ondrej Kelle

    Setting a "nullable" property on a .NET object

    The problem, I think, is that .NET's Nullable is a generic type and as such can't be exposed to COM.
  4. Great news from Dalija Prasnikar! Thank you! https://dalijap.blogspot.com/2020/03/unified-memory-management-coming-with.html
  5. Ondrej Kelle

    class designation question

    Thanks! I think you're completely right and off-topic to the question. πŸ™‚
  6. Ondrej Kelle

    class designation question

    The first is a class reference (metaclass), the second is a type declaration (class).
  7. Ondrej Kelle

    TWebModule response content truncated before return

    Simple assignment to Content should be sufficient: Response.Content := doc.XML.Text; This will both encode the incoming string value and set ContentLength automatically. (See TISAPIResponse.SetContent in Web.Win.IsapiHTTP.) In your case the encoded stream was longer than the original text, e.g. due to insertion of escape characters. By setting ContentLength explicitly you have effectively truncated the encoded stream.
  8. Ondrej Kelle

    [Macos, APFS, VmWare] Shrinking VM images

    Also see Sysinternals sdelete -z: -z Zero free space (good for virtual disk optimization).
  9. Ondrej Kelle

    Unit testing cross platform code

    DUnit for Delphi, fpcunit for FPC, one source code for the tests as they are largely compatible, you only need to conditionally compile with the right uses clause. There's an example of that in chakracore-delphi.
  10. Ondrej Kelle

    Add aΒ system-menu item to all applications?

    SetWindowsHookEx is one of the ways of 'injecting code' on Windows. Documentation: " SetWindowsHookEx can be used to inject a DLL into another process."
  11. Ondrej Kelle

    Resolve a uses clause unit path?

    I apologise, no flame intended πŸ™‚ Was that a reply to me? It's not terribly important - but do you disagree with the fact that the code was posted in 2009? πŸ™‚ Just curious. I wish you a nice Sunday. πŸ™‚
  12. Ondrej Kelle

    Resolve a uses clause unit path?

    I'm not surprised - it's 10 years old. πŸ˜‰
  13. Ondrej Kelle

    Resolve a uses clause unit path?

    Some pointers can also be found here.
  14. Ondrej Kelle

    his control requires version 4.70 or great of COMCTL32.DLL

    I would guess probably something from ComCtrls.
  15. Ondrej Kelle

    Dark mode Blue Balls tweaking

    In case the blue ball image is linked into one of Delphi's binaries as a resource it might be possible to use a resource editor to replace it with your own.
Γ—