-
Content Count
786 -
Joined
-
Last visited
-
Days Won
61
Everything posted by Vincent Parrett
-
How to attach a DigiCert Token certificate to exeutable
Vincent Parrett replied to Bart Kindt's topic in Delphi IDE and APIs
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. -
How to attach a DigiCert Token certificate to exeutable
Vincent Parrett replied to Bart Kindt's topic in Delphi IDE and APIs
https://www.finalbuilder.com/resources/blogs/code-signing-with-usb-tokens -
ANN: 50% off FinalBuilder, Continua CI and Automise
Vincent Parrett posted a topic in Delphi Third-Party
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.-
- sale
- finalbuilder
-
(and 1 more)
Tagged with:
-
MAP2PDB - Profiling with VTune
Vincent Parrett replied to Anders Melander's topic in Delphi Third-Party
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). -
Script Errors galore when launching Delphi
Vincent Parrett replied to instrumentally's topic in Delphi IDE and APIs
I can reproduce this here (only tested with berlin). -
Call for Delphi 12 Support in OpenSource projects.
Vincent Parrett replied to Tommi Prami's topic in Delphi Third-Party
FWIW, all my open source delphi projects at https://github.com/VSoftTechnologies/ support Delphi 12. -
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.
-
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
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 πββοΈ -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
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. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
Yes seems so, I saw that and decided against using it. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
Thanks, hadn't seen this one. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
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. -
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.
-
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
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. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
ntifs.h, wintrust.h - probably others - still working out what I need. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
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. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
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. -
Library for modifying windows PE files?
Vincent Parrett replied to Vincent Parrett's topic in General Help
Thanks but not really - I need much more in depth than that. -
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.
-
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"
-
You might also want to add high dpi support via the dpiAware or dpiAwareness elements
-
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.
-
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.
-
When will we have a 64-bit IDE version ?
Vincent Parrett replied to luciano_f's topic in Delphi IDE and APIs
Well that's a first π -
When will we have a 64-bit IDE version ?
Vincent Parrett replied to luciano_f's topic in Delphi IDE and APIs
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.