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
  • 4,870
  • 14
  • 63
  • 103

1 Answers1

0

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

MSalters
  • 167,472
  • 9
  • 150
  • 334