4 ms·
I did come across some mentions of that, but it sounded like you would need to configure it at build time. If you know of a way to do it with a pre-existing bin
by wheybags 2y ago
I did come across some mentions of that, but it sounded like you would need to configure it at build time. If you know of a way to do it with a pre-existing binary that wasn't designed with that in mind I'd be very interested.
- lmz 2y agoIn theory the manifest could be external (app.exe -> app.exe.manifest; lib.dll -> lib.dll.manifest), but you already seem to be patching the binary so maybe embedding it directly as a resource wouldn't hurt. Ref: https://learn.microsoft.com/en-us/windows/win32/SbsCs/assembly-searching-sequence https://learn.microsoft.com/en-us/windows/win32/SbsCs/assemb... and https://learn.microsoft.com/en-us/windows/win32/SbsCs/application-manifests#file-name https://learn.microsoft.com/en-us/windows/win32/SbsCs/applic...
- cshokie 2y agoI came here to also post about regfree COM. If you can get it to work that seems like the ideal solution. See https://learn.microsoft.com/en-us/windows/win32/sbscs/creating-registration-free-com-objects https://learn.microsoft.com/en-us/windows/win32/sbscs/creati... “Activation contexts enable COM objects to be used without requiring that they be registered.”
- Kerbiter 2y agoThis is how we avoided COM registration for Blowfish in YR, maybe this well help you. https://github.com/Phobos-developers/Phobos/blob/develop/src%2FMisc%2FHooks.Blowfish.cpp https://github.com/Phobos-developers/Phobos/blob/develop/src...
- quotemstr 2y ago> configure it at build time There's a plain old API to create lookup scopes, IIRC.