C
C#3y ago
Podreju

❔ Patch for my C program

I wrote a simple program on WinForms and decided to make a patch for it. How can I delete 3 lines of code from an exe file? Where should I start?)
5 Replies
TheBoxyBear
TheBoxyBear3y ago
If you still have the source project, make a new build with the edits Otherwise you have to decompile it
Podreju
PodrejuOP3y ago
Of course there is a source project, the point is to understand how it works
TheBoxyBear
TheBoxyBear3y ago
Unless you have an automated update system, all you can really do is notify the users and tell them to download the new build
Pobiega
Pobiega3y ago
The alternative is binary patching, which is extremely complicated and hard to do. When you patch a game or a program, they usually update content files as opposed to the executable itself. If the executable or dll files etc need to be updated, they are replaced entirely.
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server