Reading from an embedded resource stream

Posted by shadeMe on Stack Overflow See other posts from Stack Overflow or by shadeMe
Published on 2010-04-16T11:56:12Z Indexed on 2010/04/28 6:53 UTC
Read the original article Hit count: 423

Filed under:
|
|

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 ?

© Stack Overflow or respective owner

Related posts about c++-cli

Related posts about resource