Using C#, can I modify the string table resource of a native windows executable?
Asked
Active
Viewed 967 times
1 Answers
1
As far as I know, there's no support for doing that in the .NET Framework. You'll probably have to p/invoke BeginUpdateResource(), UpdateResource() and EndUpdateResource() from your code.
You can find an example of modifying resources in unmanaged code here. Although it involves dialog boxes instead of string tables, it might give you a starting point.

Frédéric Hamidi
- 258,201
- 41
- 486
- 479
-
1Thanks! Your links led me [here](http://www.daniweb.com/forums/thread322160.html) and [here](http://rongchaua.net/blog/c-add-resources-to-native-executable-file-with-updateresource/). I'll give it a shot and see if I can get it working. – Josh Dec 30 '10 at 06:45
-
String tables are more involved than other resources types. Complete native code example can be found at [updating a string table with UpdateResource](http://stackoverflow.com/a/14089163/1889329). – IInspectable Jan 11 '15 at 00:13