I am wondering how and if there is a way to put Bitmap images and .MP3 sound files into a DLL file and how I would possibly go about loading them into my program. Help?
I am wondering how and if there is a way to put Bitmap images and .MP3 sound files into a DLL file and how I would possibly go about loading them into my program. Help?
Add them as a resource and use LoadResource.
How about a non-resource file, such as MP3, MPEG, etc..... Is there away to put that in a DLL/import it?
You can add binary files as a resource:
Code:IDSND_INTRO RCDATA "intro.mp3" IDMOV_END RCDATA "end.mpg"
How would I import/export them? Should I use __declspec (dllexport) or if they are defined like you show then can I just use them as/is?