sd333221 Posted December 19, 2005 Share Posted December 19, 2005 Hi, I added an Image GUI, now i have two files: program.exe image.jpg I want the image to go as a resource with my main program, that i only have one file and image.jpg is contained in my program.exe =) I heard something of "Resource Hacker" Maybe I can add the Image with this? greetings Link to comment Share on other sites More sharing options...
Valuater Posted December 19, 2005 Share Posted December 19, 2005 did you write the program.exe?I want the image to go as a resourcewith my main programlike how??... explain a littledoes the exe have pic files in the program folder?does the exe place pics in @tempdir when ranneed input ( more info )8) Link to comment Share on other sites More sharing options...
MrSpacely Posted December 19, 2005 Share Posted December 19, 2005 Hi, I added an Image GUI, now i have two files: program.exe image.jpg I want the image to go as a resource with my main program, that i only have one file and image.jpg is contained in my program.exe =) I heard something of "Resource Hacker" Maybe I can add the Image with this? greetings I understand what he means he has made program.exe wich is a GUI program wich uses a image somewhere in the GUI. But he wants the image contained in the exe file. Simply use Fileinstall and remove the file after loading it noone will see it you could use fileinstall to unpack the image in the windows temp folder so no one will notice it easily and remove it after its loaded. And yes you can remove the source image after the gui control has loaded the image it only needs the image when the control is created. Even hiding or disabling won;t reload the image after unhiding it Link to comment Share on other sites More sharing options...
SandelPerieanu Posted December 19, 2005 Share Posted December 19, 2005 try this!FileInstall ( "source", "dest" [, flag] ) Link to comment Share on other sites More sharing options...
MrSpacely Posted December 19, 2005 Share Posted December 19, 2005 try this! FileInstall ( "source", "dest" [, flag] ) Like I said;) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now