mccainz2
asked on
I'm using a Resource file yet it is bloating my EXE
I recently added background graphics to my forms via a resource file. The res file is approx 5mb and in return my exe has bloated by approx the same amount. WTF is going on. I also tested the exe by removing it to a folder where it had no access to the res file....It still loaded with the correct graphics...So, am I to understand that the res file graphics are loaded into the binary at build-time ? If so then WTF is the point of having a resource file????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you add graphics to your program a .frx file is created for each form that has the graphics.When you compile, the graphics will be added to your exe.A resource file can be used to store strings,graphics or binary data to be extracted from your exe at runtime.