0

Is it possible in C++ to read the manifest of an EXE file or DLL whitout loading it?
I read that there are some API functions such as FindResourceEx, but they require HMODULE acquired by LoadLibrary. (I do have the file handle of the exe or DLL I want to get the manifest from).

Idov
  • 5,006
  • 17
  • 69
  • 106

1 Answers1

0

You can also get an HMODULE from LoadLibraryEx(file, 0, LOAD_LIBRARY_AS_DATAFILE | LOAD_LIBRARY_AS_IMAGE_RESOURCE).

MSalters
  • 173,980
  • 10
  • 155
  • 350