Making a DLL which includes an .rc file
First of all, I realize this has been asked before but they all concerned MFC so I'll just go ahead ;)
I'm creating a DLL for an application which includes an .rc file with dialogs, bitmaps, etc.
My problem is that when I link statically to the DLL in another project the DLL isn't able to create the dialogs. It's like the resources aren't loaded into memory along with the DLL.
If I both link AND include the .rc file in the new project everything works out just fine..
How can I avoid having to manually include the .rc file (from the original project) and instead just use the DLL's interface functions in order to let it do it automatically?
Thanks in advance!