|
-
Mar 12th, 2001, 08:24 PM
#1
Thread Starter
Hyperactive Member
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
-
Mar 13th, 2001, 03:16 PM
#2
Monday Morning Lunatic
GIF images aren't natively supported in resource scripts, so you'll need to insert it as binary data.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Mar 13th, 2001, 09:41 PM
#3
Thread Starter
Hyperactive Member
-
Mar 13th, 2001, 09:54 PM
#4
Thread Starter
Hyperactive Member
Umm ??
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
-
Mar 14th, 2001, 12:41 AM
#5
Thread Starter
Hyperactive Member
hmm i think i might know now
i think it would be like this:
Gif_File GIF
{
Binary Data Here
}
how would i go about getting the binary data though ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|