quote:Original post by OB1st
How do I include my bitmap file in the project in text format, and therfore not have to e-mail it with the executable for others to run it.
Do you suppose by including the bitmap as text in your .rc file the size of the latter won't grow? In fact, a byte can have 256 values while a character only 96. So by storing bitmap data as text, you'll need more space. There's little point in storing bitmaps as text in resource files. Just distribute your bitmaps with your projects like everyone does.
You don't need to distribute the bitmap files with your executable, since they are already in the executable. If you can't load them from .exe, you're doing something wrong.
Also consider using compressed file formats, if you aren't already doing so. JPEGs are nice if you can live with losses, otherwise go with PNGs. D3DX can load them, so why waste space for uncompressed bitmaps?
[edited by - IndirectX on June 2, 2002 7:09:29 AM]