Jump to content

Vincent Parrett

Members
  • Content Count

    786
  • Joined

  • Last visited

  • Days Won

    61

Everything posted by Vincent Parrett

  1. Vincent Parrett

    How to attach a DigiCert Token certificate to exeutable

    No, you only need to do that if the machine you are signing on is different to the one where the usb token is installed. pfx files are a thing of the past (except for self signed certificates), so forget about that bit. Do not expect the IDE to support code signing with tokens. You need to understand how to call signtool.exe You could perhaps setup a post buld event for your project to do the signing - but bear in mind signing takes time so only add it to the release config. Alternatively - (vendor plug) - use FinalBuilder to generate your release builds - in which case code signing is pretty easy.
  2. Vincent Parrett

    How to attach a DigiCert Token certificate to exeutable

    https://www.finalbuilder.com/resources/blogs/code-signing-with-usb-tokens
  3. Black Friday Sale - 50% off FinalBuilder, Continua CI and Automise - until midnight Tues 28th UTC FinalBuilder - create your build process with an easy to use GUI - debug the build on your desktop, run on your desktop or CI server https://www.finalbuilder.com/finalbuilder Continua CI - an affordable, scalable and easy to use Continuous Integration Server. https://www.finalbuilder.com/continua-ci Automise - windows automation for power users and system administrators https://www.finalbuilder.com/automise No discount code required, just add to the cart and the discount will be automatically applied.
  4. Vincent Parrett

    MAP2PDB - Profiling with VTune

    This is awesome, embarcadero have no excuse for poor performance now! 🀣Nice one As someone who uses runtime packages (due to the plug architecture of my application) - this is a god send - I have profiled the crap out of my code, found a lot of small improvements and a couple of large ones - but quite often the profiler shows the majority of the per ends up somewhere inside the RTL - this will allow me to do another round of profiling. The only down side is I have an amd cpu, and uProf is nowhere near as good as VTune (although both suck when it comes to UI/UX).
  5. Vincent Parrett

    Script Errors galore when launching Delphi

    I can reproduce this here (only tested with berlin).
  6. Vincent Parrett

    Call for Delphi 12 Support in OpenSource projects.

    FWIW, all my open source delphi projects at https://github.com/VSoftTechnologies/ support Delphi 12.
  7. Vincent Parrett

    Library for modifying windows PE files?

    I'm looking for a library that will allow me to modifying windows PE file, modifying/adding data directories/headers/sections etc. Yes I could figure it all out myself, but time is short and I'm lazy, so I am hoping there is a library out there that will speed up the learning process - free/open source (not gpl) or commercial ok, as long as the source is available. Any suggestions? Thx.
  8. Vincent Parrett

    Library for modifying windows PE files?

    Interesting, license is "as is" - so does that overrider the gpl of the other project - it doesn't appear to be any attribution of the original project - kinda disingenuous to misrepresent another's work as your own and then apply a GPL license to it πŸ’β€β™‚οΈ
  9. Vincent Parrett

    Library for modifying windows PE files?

    Yes thanks, I have seen this (and learned from it). I'm looking into building a remote signing tool - so that I can sign from multiple machines without needing the token drivers installed - right now we have to run all code signing on a single build agent that has access to the token - it's caused us a lot of work splitting out the code signing on all our build processes - which results in longer build times as we move files between agents and the server - ie agentX builds, sends artifacts back to server, server sends them to agent5 (the one that can sign), agent 5 signs them and sends them back to the server, which then sends them to agentX to continue the build process (pacakging and deployment etc). All very unsatisfactory. I haven't been able to work on it for a few weeks as other more urgent tasks popped up (like replacing confluence) but hope to get back to it soon.
  10. Vincent Parrett

    Library for modifying windows PE files?

    Yes seems so, I saw that and decided against using it.
  11. Vincent Parrett

    Library for modifying windows PE files?

    Thanks, hadn't seen this one.
  12. Vincent Parrett

    Library for modifying windows PE files?

    Actually this is really useful - I've been working from some C based examples - I do actually need to add another section so this is is exactly what I need thanks.
  13. Vincent Parrett

    Issue with CTRL-A

    I generally just set the major version on the manifest , e.g 8.0.0.0 and don't bother with updating it for every build. I also wouldn't use the Mage tool if you are not using .net - it adds stuff to the manifest you don't need/want.
  14. Vincent Parrett

    Library for modifying windows PE files?

    Actually found some wintrust api's are in WinApi.Windows - fooled by code insight again πŸ™„ I really wish the windows api translations followed the original h files - a WinApi.Wintrust would make it much easier to find.
  15. Vincent Parrett

    Library for modifying windows PE files?

    ntifs.h, wintrust.h - probably others - still working out what I need.
  16. Vincent Parrett

    Library for modifying windows PE files?

    Yeah I'm making progress just using the windows api's - the most annoying part is not having delphi translations for much of what I need. I did see the mitec library - as you say it doesn't do writing. After spending much of the day searching/reading, I think I will just have to bite the bullet and do it from scratch.
  17. Vincent Parrett

    Library for modifying windows PE files?

    Yeah I did have a quick look at it.. not what I need. I found plenty of code for reading the basic PE/MSDOS headers, but I need to get into the sections etc. I'm investigating adding certificates so need to enumerate sections and append some data to to the exe. So it's a lot more involved than just reading the basic info.
  18. Vincent Parrett

    Library for modifying windows PE files?

    Thanks but not really - I need much more in depth than that.
  19. Vincent Parrett

    Issue with CTRL-A

    You should also add the AssemblyIdentity and Description elements, but otherwise it should be ok. Edit : recommend you take a look at https://learn.microsoft.com/en-au/windows/win32/sbscs/application-manifests - it lists whether elements are required or not.
  20. Vincent Parrett

    Issue with CTRL-A

    There is no specific guid for Windows 11 accorrding to MS "The following GUIDs correspond with the indicated operating systems: {8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a} -> Windows 10, Windows 11, Windows Server 2016, Windows Server 2019 and Windows Server 2022"
  21. Vincent Parrett

    Issue with CTRL-A

    You might also want to add high dpi support via the dpiAware or dpiAwareness elements
  22. Vincent Parrett

    Issue with CTRL-A

    The reason for the Ctrl A issues is because the manifest file controls what version of the common controls your application uses - without it you get the very old versions. FinalBuilder uses the manifest file you specifiy in the Delphi Action. No, use the example in the blog post that @Uwe Raabe linked to - it's actually the manifest we use for FinalBuilder. The blog post also details why you should not use the one generated by the IDE. In fact FinalBuilder cannot use the delphi IDE generated manifest file for two reasons The ide never saves the file anywhere but in the projectname.res file (annoyingly - since this is source code). It uses a template file that uses variables only available to the delphi IDE.
  23. Vincent Parrett

    Is it worth resubscribing now?

    I didn't use Berlin (I did try but had too many issues) - went from XE7 to 10.4.2 (failed again due to issues) - and then 11.x - 11.3 is not perfect but it's usable. My project is a few exe's and around 100 packages (32bit vcl) - around 4M lines of code. IDE using 600MB, LSP 400MB. I have not run into any out of memory issues with 11.3 - I have had issues with code insight occasionally stops working, but found my old trick of closing the project, deleting the .identcache seems to get it working again. Like every release in the last 10 years, the debugger isn't great but is usable for the most part - the 64bit debugger is pretty flakey (along with the compiler) - so for now I'm sticking to 32bit. YMMV.
  24. Vincent Parrett

    When will we have a 64-bit IDE version ?

    Well that's a first πŸ˜…
  25. Vincent Parrett

    When will we have a 64-bit IDE version ?

    I'm sure we would all love to see a 64bit IDE, but emb have limited resources, and right now they need to focus on more important issues.
Γ—