I’ve been trying to access an image resource named “IndexPointer.jpg” in an embedded RESX file called “Images.resx”. GetManifestResourceNames() returns a single value – SCtor.Images.resources”.
Assembly::GetExecutingAssembly()->GetManifestResourceStream(“SCtor.Images.resources.IndexPointer.jpg”)
only returns a nullptr. Obviously, I’ve got the manifest name wrong. What would be the correct one ?
Well, I finally figured it out. Strangely, I recall coming across (and trying out) the working solution and disregarding it. In any case, I instantiated a ResourceManager object with my assembly’s resource and used its GetObject method to extract the embedded image.