Jump to content

Vincent Parrett

Members
  • Content Count

    786
  • Joined

  • Last visited

  • Days Won

    61

Vincent Parrett last won the day on June 17

Vincent Parrett had the most liked content!

Community Reputation

845 Excellent

5 Followers

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

15193 profile views
  1. Interesting, similar to my old library (except that I handle stderr) - I will have to study it further as I have been considering using job objects since seeing a talk on them at DelphiSummit (I have looked at them in the past but never implemented them).
  2. I'm also using a 4K buffer, but in my testing a larger buffer size makes no discernible difference to performance.
  3. @Kas Ob. not sure what hardware he is using but on my 5900X ssd system I am seeing 16-17s for both his library and mine.
  4. This is interesting - I have my own process library that uses IOCP for reading stdout/stderr and I thought it was fast (it's a lot faster than my old library that uses threads) - but in a quick test your library has pretty much identical performance. That makes me consider switching to overlapped io and avoiding the extra complexity with IOCP. My approach is similar to yours, my library does not convert stdout to strings by default. It was inspired by this library, which has a nice abstraction over the IO side of things. https://github.com/Tyrrrz/CliWrap Not sure if I will end up publishing my lib, I have become rather disallusioned with the whole open source side of things - but that's another story.
  5. Vincent Parrett

    Intercepting UuidCreate function

    Intercepting functions for unit testing is a terrible idea. A better option would be to create abstractions and a concrete implementation (ie actually calls UuidCreate), that abstraction can be easily mocked using Delphi Mocks or Spring4D for uinit tests. The same applies to code that relies on things like Now or NowUTC - e.g - https://github.com/VSoftTechnologies/VSoft.System.TimeProvider
  6. With Signtool Yes, however with Signotaur you do not.
  7. Vincent Parrett

    ANN : FinalBuilder 8.5 Released

    FinalBuilder is an Automated Build tool which supports Delphi 3 - 12.3 and C++Builder 3 - 12.3, along with many other tools. Version 8.5 adds a new Password Variable type, stronger encryption and new actions to interact with the Windows Credential Manager. https://www.finalbuilder.com/resources/blogs/finalbuilder-85-and-automise-55-release
  8. Vincent Parrett

    VSoft.System.Console - Delphi implementation of c# Console class

    The demo is very basic - haven't had time to produce anything more extensive.
  9. Vincent Parrett

    VSoft.System.Console - Delphi implementation of c# Console class

    The valid sizes will depend on your screen resolution. on my machine I get LargestWindowHeight 85 LargestWindowWidth 320 So that call to SetWindowSize is out of bounds for your machine. I guess I should make the demo use more conservative values.
  10. Vincent Parrett

    VSoft.System.Console - Delphi implementation of c# Console class

    Oh that's weird. What version of delphi are you using?
  11. Hi All This is a port of the dotnet/c# Console class, which makes easy to do things like set colors, move the cursor etc. https://github.com/VSoftTechnologies/VSoft.System.Console Currently only Windows supported, however it's architected so that other platforms can be added - happy to take pull requests for that if anyone wants to add other platforms. Supports Delphi XE3 or later (compiles with XE2 but encoding issues stop it from working correctly).
  12. Vincent Parrett

    VSoft.WindowsCredentialManager - Windows Credential Manager Api

    I don't use delphi for cross platform dev so didn't look at those.
  13. Vincent Parrett

    VSoft.WindowsCredentialManager - Windows Credential Manager Api

    Thanks 1) It's stored in the windows credential manager encrypted. It's of no use to me hashed, I'm using thing credentials to pass on to other applications - for example when talking to a website. 2) Windows Credential Manager is umm... windows only.
  14. Vincent Parrett

    VSoft.ThreadpoolTimer - a simple threadpool based timer

    Honestly, I don't remember - I wrote this code ages ago!
  15. Hi All I published a simple wrapper over the Windows Credential Manager Api https://github.com/VSoftTechnologies/VSoft.WindowsCredentialManager
×