PDA

Click to See Complete Forum and Search --> : Help With Resource.


AAG
Mar 12th, 2001, 07:24 PM
How do u input a .gif file into a resource file so that i can distribute just my .exe without having to include the gif animation that my program is displaying. ? i know how to load a gif animation and all. but i just want to know whats the correct call to put it into a resource file. i know that .bmp is like this :

NAMEOFBMP BITMAP "file.bmp"

but how do i do a .gif ????? i know how to do it in vb6 so i know its possible in vb6, so i'm sure its possible in c++. thanx ahead of time :)

parksie
Mar 13th, 2001, 02:16 PM
GIF images aren't natively supported in resource scripts, so you'll need to insert it as binary data.

AAG
Mar 13th, 2001, 08:41 PM
hehe,
Thanx

AAG
Mar 13th, 2001, 08:54 PM
yo i thought i knew what you were talking about, but i guess not. could u give me an example ? Please. Or could u direct me somewhere that gives an example on it or a little information on the subject.

thanx

AAG
Mar 13th, 2001, 11:41 PM
i think it would be like this:

Gif_File GIF
{
Binary Data Here
}

how would i go about getting the binary data though ?