[Dev-C++] loading bitmap from resource file
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Joost v. R. <jo...@va...> - 2002-02-13 07:29:50
|
I am trying to use a bitmap image in my executable. So far I managed to load it in to the rsrc.o file by using the following line in my resource file... image BITMAP "E:/image.bmp" It is getting linked to the executable, so that seems to work fine. But I can't seem to figure out how to use this file in the rest of my code. How do I call it? I would like the executable to write it to some place on the harddisk as soon as the exe file is running. I tried to read the tutorial on http://www.foosyerdoos.fsnet.co.uk/ but that did not help me much... Joost |