The application that I made had an icon and various buttons that had loaded bitmaps to them. All the bitmaps were set using resources.rc file where I declared all the bitmaps in resources like this
Code: Select all
application ICON "application.ico"
button1 ICON "button1.bmp"
Code: Select all
btnMyButton->SetBitmap(wxICON(button1));
So my question isCan't load bitmap 'button1.bmp' from resources! Check .rc file
How can we include the resources in the dll so that when it is loaded as plugin from a different .exe it loads all the icons and bitmaps if any correctly.
edit: My bad just missed a 1 while typing.