I need help writing a patch that inserts a menu into an application which does not have one. When I an executable file in a resource editor, I found the menu and I saved the file again and it doesn't show up. I then used OllyDbg to disassemble the executable and wrote the wrong code, saved it. When I clicked the application, it still does not show up. And I do not know how to write a proper patch for this. What else should I do if none of the options work?
I used HxD for hex editing for making the menu appear (I was hoping to see the manu) by adding the commands
CreateMenu LoadMenu AppendMenu InsertMenuItem...
but nothing worked. Can anyone help me?