Click here to Skip to main content
15,887,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to reduce exe size? Pin
sunlin727-Sep-09 2:54
sunlin727-Sep-09 2:54 
GeneralRe: How to reduce exe size? Pin
CPallini27-Sep-09 23:25
mveCPallini27-Sep-09 23:25 
AnswerRe: How to reduce exe size? Pin
sunlin727-Sep-09 2:56
sunlin727-Sep-09 2:56 
GeneralRe: How to reduce exe size? Pin
includeh1027-Sep-09 3:19
includeh1027-Sep-09 3:19 
GeneralRe: How to reduce exe size? Pin
harold aptroot27-Sep-09 4:20
harold aptroot27-Sep-09 4:20 
GeneralRe: How to reduce exe size? Pin
Iain Clarke, Warrior Programmer27-Sep-09 10:40
Iain Clarke, Warrior Programmer27-Sep-09 10:40 
AnswerRe: How to reduce exe size? Pin
Luc Pattyn27-Sep-09 12:20
sitebuilderLuc Pattyn27-Sep-09 12:20 
AnswerRe: How to reduce exe size? Pin
Joe Woodbury27-Sep-09 17:00
professionalJoe Woodbury27-Sep-09 17:00 
With Visual Studio 2005, under Linker Optimization, make sure you are eliminating unreferenced data, enable COMDAT folding and set Optimize for Windows98 to No.

Check if you are overusing templates. They tend to chew up a lot of space. You could also turn off intrinsic functions. Under code generation, turn off "Buffer Security Check" (some will disagree, if you read up on it, you'll find it's nearly useless, but does use space.) Under Language, i always turn of Run-Time Type Info (savings is small, but I never use it so why not?) Reexamine everything you are linking to; sometimes you use a tiny function that pulls in a huge amount of code even though you don't really need it.

If your resource bitmaps are big, consider PNG or JPG.
AnswerRe: How to reduce exe size? Pin
CPallini27-Sep-09 23:34
mveCPallini27-Sep-09 23:34 
GeneralRe: How to reduce exe size? Pin
includeh1028-Sep-09 5:02
includeh1028-Sep-09 5:02 
QuestionAn unexpected output Pin
carter200027-Sep-09 0:34
carter200027-Sep-09 0:34 
AnswerRe: An unexpected output Pin
N a v a n e e t h27-Sep-09 1:07
N a v a n e e t h27-Sep-09 1:07 
GeneralRe: An unexpected output Pin
carter200028-Sep-09 4:47
carter200028-Sep-09 4:47 
AnswerRe: An unexpected output Pin
Stuart Dootson27-Sep-09 4:17
professionalStuart Dootson27-Sep-09 4:17 
GeneralRe: An unexpected output Pin
carter200028-Sep-09 4:59
carter200028-Sep-09 4:59 
GeneralRe: An unexpected output Pin
Stuart Dootson28-Sep-09 6:18
professionalStuart Dootson28-Sep-09 6:18 
GeneralRe: An unexpected output Pin
carter200028-Sep-09 16:19
carter200028-Sep-09 16:19 
QuestionFile Creation in share mode in VC++ Pin
neeraja3126-Sep-09 22:34
neeraja3126-Sep-09 22:34 
AnswerRe: File Creation in share mode in VC++ Pin
Richard MacCutchan27-Sep-09 1:15
mveRichard MacCutchan27-Sep-09 1:15 
GeneralRe: File Creation in share mode in VC++ Pin
neeraja3127-Sep-09 2:37
neeraja3127-Sep-09 2:37 
GeneralRe: File Creation in share mode in VC++ Pin
Richard MacCutchan27-Sep-09 6:09
mveRichard MacCutchan27-Sep-09 6:09 
QuestionRe: File Creation in share mode in VC++ Pin
David Crow28-Sep-09 4:08
David Crow28-Sep-09 4:08 
AnswerRe: File Creation in share mode in VC++ Pin
sunlin727-Sep-09 3:01
sunlin727-Sep-09 3:01 
GeneralRe: File Creation in share mode in VC++ Pin
neeraja3127-Sep-09 3:07
neeraja3127-Sep-09 3:07 
AnswerRe: File Creation in share mode in VC++ Pin
David Crow28-Sep-09 4:15
David Crow28-Sep-09 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.