I suppose there’s no way to use resource from exe without full loading it into memory. Let’s say I have plans to use large RC_DATA resource I prepared myself. Is it ok to find it inside my executable by signature scanning and use it with CreateFile and offset after that?
Thanks
I’m not sure if I understood you correctly, but you don’t load the entire exe into memory when you try to access it. All you need to do is:
And then just load it:
And this will give you the pointer to the first byte:
Hope this helps!