djcouchycouch
djcouchycouch

Reputation: 12832

Win32 exe not finding resources compiled in a .lib

I have a pretty plain Win32 application that links against a library I wrote that contains 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.

Upvotes: 0

Views: 315

Answers (2)

Dewfy
Dewfy

Reputation: 23634

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.

Upvotes: 0

Related Questions