Back to front pageView on Hacker News (opens in a new tab)Show HN: Resurrecting a dead Dune RTS game (opens in a new tab)wheybags.com485 pointsby wheybags (on Hacker News)2 years agowheybags.com (opens in a new tab)wheybags' blog: Resurrecting a dead Dune RTS gameComments (100) 31 threadsShow all commentsShowing thread 24 of 31[-]lmz2 years ago1 reply#I wonder if they can use manifests / registration-free COM to avoid the registry dependency of the online component.[-]wheybags2 years ago3 replies#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.[-]lmz2 years ago1 reply#In 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/assemb... and https://learn.microsoft.com/en-us/windows/win32/SbsCs/applic...cshokie2 years ago#I 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/creati...“Activation contexts enable COM objects to be used without requiring that they be registered.”Kerbiter2 years ago#This is how we avoided COM registration for Blowfish in YR, maybe this well help you.https://github.com/Phobos-developers/Phobos/blob/develop/src...quotemstr2 years ago#> configure it at build timeThere's a plain old API to create lookup scopes, IIRC.
Show HN: Resurrecting a dead Dune RTS game (opens in a new tab)wheybags.com485 pointsby wheybags (on Hacker News)2 years ago
lmz2 years ago1 reply#I wonder if they can use manifests / registration-free COM to avoid the registry dependency of the online component.
wheybags2 years ago3 replies#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.
lmz2 years ago1 reply#In 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/assemb... and https://learn.microsoft.com/en-us/windows/win32/SbsCs/applic...
cshokie2 years ago#I 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/creati...“Activation contexts enable COM objects to be used without requiring that they be registered.”
Kerbiter2 years ago#This is how we avoided COM registration for Blowfish in YR, maybe this well help you.https://github.com/Phobos-developers/Phobos/blob/develop/src...
quotemstr2 years ago#> configure it at build timeThere's a plain old API to create lookup scopes, IIRC.
Comments (100) 31 threads
Show all comments
Showing thread 24 of 31
See https://learn.microsoft.com/en-us/windows/win32/sbscs/creati...
“Activation contexts enable COM objects to be used without requiring that they be registered.”
https://github.com/Phobos-developers/Phobos/blob/develop/src...
There's a plain old API to create lookup scopes, IIRC.