Resources For Release Version
I have a bunch of bitmaps/icons I use in the release version of a program. I was hoping to incorporate them in the executable file so I don't have to add a list image files along with the executable.
Many of them are loaded using LoadImage. Can I do it so they are lumped into the executable?
Thanks,
Matt
Re: Resources For Release Version
Quote:
Originally posted by hatflyer
Many of them are loaded using LoadImage. Can I do it so they are lumped into the executable?
Just add them as bitmap and icon resources. As for LoadImage(), when you omit the LR_LOADFROMFILE flag, the lpszName will be treated as the resource identifier instead of the filename (actually, that's the default behaviour of LoadImage).