| ??? 02/11/03 16:33 Read: times |
#38783 - RE: linking the bmp files. Responding to: ???'s previous message |
The way I deal with this problem is to make the data from the converted .BMP files into source code. Then include that code into one of your source files so that it gets compiled and subsequently linked in. For example I have in one test project a source file that looks like:
... ... unsigned char code bitmap1[]={ #include "bitmap1.inc" }; ... ... The bitmap1.inc file has the data formatted like.... 0x23, 0x23, 0x24, 0x24, 0x11, 0x44, 0x99, 0xFA, ... ... etc etc 0xFC, 0xFD, oxFE, 0xFF, Hope this helps..... Oh by the way,,,If you need source code for a PC based utility that can make a C source code initializer like this from binary data please just post me your email address and I can send it to you. Michael Karas |
| Topic | Author | Date |
| linking the bmp files. | 01/01/70 00:00 | |
| RE: linking the bmp files. | 01/01/70 00:00 | |
| RE: linking the bmp files. | 01/01/70 00:00 | |
| RE: linking the bmp files. | 01/01/70 00:00 | |
RE: linking the bmp files. | 01/01/70 00:00 | |
| RE: linking the bmp files. | 01/01/70 00:00 |



