I have a pretty plain Win32 application that links against a library I wrote that contain开发者_JAVA百科s resources in an .rc file. The problem is that the .exe doesn't seem to find those resources. But if I move the .rc file from the library project to the .exe project resource loading works.
What step am I missing? I have the impression I have to call some kind of general resource setup/loading function because the resources aren't directly in the executable but I don't know what.
VC++ resources in a static library
May be something shifted, but early years it wasn't possible to store resources in .lib But it is absolutely legal to place them to .dll Just change type of your project.
精彩评论