Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by stijnsanders

  1. stijnsanders

    HELP: Using C++ .dll in Delphi

    Also use PAnsiChar instead of string. It's a stricter translation of C’s *char and Delphi has great auto conversion to and from string with it
  2. stijnsanders


    I'm not familiar with the PaxCompiler, but what I read about it, it sounds somewhat similar to DWScript, perhaps it's worth looking into porting over to something like that?
  3. stijnsanders

    Copied text from posts contains garbage character

    I'm used to other on-web-page editors to have Ctrl+K pop up the 'link' dialog box so I can paste a URL. Here you have to click the link icon. I've updated my original post.
  4. stijnsanders

    libpq.dll for FireDAC?

    I don't need FireDAC, I've made my own libPQ wrapper
  5. stijnsanders

    Version Control System

    I made my own diff just to get it the way I want it: DirDiff What I didn't want is the stuff that's the same for both twice on screen. The last re-work I did on it enabled diffs between 3 or more files, but that's still not exactly what's needed for conflict resolution. I've open-sourced it here: Github...
  6. stijnsanders

    Measure Process Time

    And then there's also memory refresh and other system interrupts that will happen inbetween your program. If you have a multi-processor machine, what you could also do is set processor affinity to force the thread(s) to run on a single core, to minimize interruptions like this.
  7. stijnsanders

    Strange Behaviour of FillChar for Non Byte Array Arrays.

    Haha! That's a question of mine! I wonder if it's still the same asm in 64-bits.
  8. Aren't there compiler settings you could set so the 'Release' build would exclude RTTI, so you could still have it in the 'Debug' build?
  9. stijnsanders

    RSS feeds for new posts ?

    @Daniel, yes the URL https://en.delphipraxis.net/rssalltopics.xml/ looks exactly like what I was looking for.
  10. stijnsanders

    RSS feeds for new posts ?

    Haha! I no longer need TListView for displaying feeds: https://github.com/stijnsanders/feeder#feeder
  11. I once dabbled a bit in parsers and compilers, and also started on a Delphi parser, but never completed it. I've open-source what I got here: https://github.com/stijnsanders/dparse
  12. stijnsanders

    Delphi and Java Cryptography Extension (JCE)

    Those are all response headers, do you get to see the request headers as well?
  13. stijnsanders

    Delphi and Java Cryptography Extension (JCE)

    Basic Auth is, if I recall correctly, adding a request header 'Authorization' with a value of 'Basic ' followed by username+':'+password Base64 encoded. Do you have anything that is calling the API already, running locally, so you could use a browser debugger or Fiddler on and intercept the API call?
  14. stijnsanders

    Delphi and Java Cryptography Extension (JCE)

    That is a bit vague. Do you know how JCE is used to encrypt the REST API? If it's used behind the scenes to perform what is needed for the security of the https protocol, that should get handled by the transport layer.
  15. If I remember correctly, the main thing of magic beauty tweaking the Windows GUI happens in the CreateParams override. Many nice things happen there if you know what you're doing. I personally like the Params.WndParent field, (though modern Delphi versions since I learned about it have introduced "Application.MainFormOnTaskbar")
  16. stijnsanders

    RSS feeds for new posts ?

    https://en.delphipraxis.net/discover/38/ ??? You select 'items only' and 'topics' and still get replies? What I want is a list of new items only...
  17. stijnsanders

    RSS feeds for new posts ?

    What if one really wants to list only the new forum posts? I tried https://en.delphipraxis.net/discover/new.xml but that doesn't work.