开发者

Modify exe resource using Java?

I need to modify the string table of a win32 exe using Java. I'm wondering if a library that does this exists, free or otherwise.

If there is no existing lib, how should I go about doing this? 开发者_StackOverflowShould I use JNI to call the win32 api functions (BeginUpdateResource, etc)?

thanks!


You can use JNI to directly call UpdateResource APIs or you might want to consider using some of the .NET code (like the one here) that you can wrap into an assembly and use something like jni4net to make the request. That might reduce the complexity of the code you need to write. Give it a shot.. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜