[SDL] Using MSVC Bitmap Resource with SDL_Image
Leeor D.
leeor_net at yahoo.com
Tue Jul 31 09:36:27 PDT 2007
Leeor D. <leeor_net <at> yahoo.com> writes:
>
> The title should pretty much sum it up but here's the scoop:
>
> I want to embed a BMP file into my Win32 program. This is easy enough with
> MSVC -- simply import it into the resource file.
>
> The question now is, how can I use the BMP in the embeded resource file with
> SDL_Image?
>
> Thanks for any help!
>
Again, thank you all for your suggestions.
I went with the Bin2C suggestion because I can embed *any* resource file such
as images, WAV's and so on. This also makes it portable without the need to
include extra files.
So thanks again everyone for the support!
- Leeor
More information about the SDL
mailing list