How can I self-extract a binary resource (executab

2019-08-17 00:10发布

I need to extract a binary resource (that's in my project) however, I cannot think of any way I can do it, I'm using Windows/C++.

How can I do it?

(Any help will be appreciated)

1条回答
爷、活的狠高调
2楼-- · 2019-08-17 00:52

FindResource, SizeofResource, LoadResource, and LockResource are used in concert to gain access to "the file" held in the resource table of the module your reading. A reasonable sample of how to do this can be found at this question, Note that you need to know the resource type and name (or ordinal), to find it for the copy.

查看更多
登录 后发表回答