Does anyone know of a way to embed a generic binary file ( word doc, windows exe, wav file, mp3, etc) inside an executable? And then access/referencing it without extracting it from the exe during runtime?
Thanks in advance.
Any other code problems I seem to smash without reprisal.
This is my first post but I am definitely going to go through as many post as I can to help others.
I love wxWidgets!!
Embedding binary files within compiled EXE Topic is solved
Thanks
I believe it may help, luckily I am developing for a Win32 environment. I will try accessing it as a resource.
Thanks again, but I still need it to build as a single executable (assuming that the module is an external resource).
Thanks again, but I still need it to build as a single executable (assuming that the module is an external resource).
Actually, the code changes sugested in that topic, are (only) to allow loading catalog files from resources.
I suggest you Download wxMSWResources class at wxCode, it was designed specifically for this.
http://wxcode.sourceforge.net/complist.php
read more about it here http://forums.wxwidgets.org/viewtopic.php?t=5492
HTH
I suggest you Download wxMSWResources class at wxCode, it was designed specifically for this.
http://wxcode.sourceforge.net/complist.php
read more about it here http://forums.wxwidgets.org/viewtopic.php?t=5492
HTH
Hier Kommt die Sonne...
truly appreciated
Thanks for the link, I totally forgot about checking wxCode.
And even though the previous suggestion was geard towards catalog files, the conceptual aspect gave me more ideas and approaches.
Thank you very much.
And even though the previous suggestion was geard towards catalog files, the conceptual aspect gave me more ideas and approaches.
Thank you very much.