PDA

View Full Version : If I place bitmaps in a resource file...



R0b0t1
12-08-2007, 12:49 AM
Well, I'm making an OCX. If I place the bitmaps into the resource folder, will they be included and don't need to be distributed? Whats are the pros/cons?

BenLand100
12-09-2007, 11:17 PM
Pros, they are in the compiled file and you can access their data relatively easily (no file mapping to worry about). Cons, you can't modify them without redistributing the entire compiled project.

Those are the big ones, and both go hand in hand with the fact that you don't have to distribute them.

R0b0t1
12-10-2007, 01:35 AM
Ahh. Would you happen to prefer one to the other? Like for RS, I would probably want a bitmap file one because they change it often, but for the computer fonts, I might want it in the resource.