Click here to Skip to main content
15,850,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker error Pin
Vaclav_13-Sep-17 10:05
Vaclav_13-Sep-17 10:05 
GeneralRe: Linker error Pin
Jochen Arndt14-Sep-17 4:38
professionalJochen Arndt14-Sep-17 4:38 
GeneralRe: Linker error Pin
leon de boer15-Sep-17 23:21
leon de boer15-Sep-17 23:21 
GeneralRe: Linker error Pin
Vaclav_16-Sep-17 4:02
Vaclav_16-Sep-17 4:02 
GeneralRe: Linker error Pin
leon de boer16-Sep-17 4:16
leon de boer16-Sep-17 4:16 
QuestionClarification of Debug/Release mode Pin
ForNow11-Sep-17 3:24
ForNow11-Sep-17 3:24 
AnswerRe: Clarification of Debug/Release mode Pin
Jochen Arndt11-Sep-17 4:21
professionalJochen Arndt11-Sep-17 4:21 
AnswerRe: Clarification of Debug/Release mode Pin
leon de boer11-Sep-17 16:51
leon de boer11-Sep-17 16:51 
Commercially I don't ever use the DLL versions of the runtime libraries we live with the blowup in EXE code size.

So for MFC I have the setting "Use Standard Windows Libraries"
For C/C++ code generation I use "Multi-threaded (/MT)" in release mode and "Multi-threaded Debug (/MTd)" for debug

The reason for it is sometime down the track your runtime DLL will fall foul of a new windows version. The compiler groups behind the runtime library are not as forward thinking as the proper O/S programmers at Microsoft. In general if you are using just the windows API the O/S programmers will patch those calls to still operate for old code although there is usually a speed penalty.

I have code written originally for Windows 98 that still works on Windows 10, but I have had code written for runtime libraries that could survive between minor version changes of Windows.

The school of hard knocks has taught me to avoid the runtime libraries at all cost because they are a liability.
In vino veritas

GeneralRe: Clarification of Debug/Release mode Pin
ForNow11-Sep-17 16:58
ForNow11-Sep-17 16:58 
GeneralRe: Clarification of Debug/Release mode Pin
leon de boer12-Sep-17 9:33
leon de boer12-Sep-17 9:33 
GeneralRe: Clarification of Debug/Release mode Pin
ForNow12-Sep-17 9:46
ForNow12-Sep-17 9:46 
GeneralRe: Clarification of Debug/Release mode Pin
leon de boer13-Sep-17 19:25
leon de boer13-Sep-17 19:25 
Questionbatch file quicksort algorithm Pin
wayne wu10-Sep-17 17:10
wayne wu10-Sep-17 17:10 
AnswerRe: batch file quicksort algorithm Pin
Richard MacCutchan10-Sep-17 20:24
mveRichard MacCutchan10-Sep-17 20:24 
AnswerRe: batch file quicksort algorithm Pin
CPallini11-Sep-17 3:22
mveCPallini11-Sep-17 3:22 
Questionelaborate the build instructions Pin
Member 125524089-Sep-17 14:05
Member 125524089-Sep-17 14:05 
AnswerRe: elaborate the build instructions Pin
Richard MacCutchan10-Sep-17 5:18
mveRichard MacCutchan10-Sep-17 5:18 
AnswerRe: elaborate the build instructions Pin
CPallini10-Sep-17 6:14
mveCPallini10-Sep-17 6:14 
QuestionHow to #include <string> in C code Pin
Vaclav_9-Sep-17 7:18
Vaclav_9-Sep-17 7:18 
AnswerRe: How to #include <string> in C code Pin
Richard MacCutchan9-Sep-17 7:39
mveRichard MacCutchan9-Sep-17 7:39 
AnswerRe: How to #include <string> in C code Pin
CPallini10-Sep-17 4:03
mveCPallini10-Sep-17 4:03 
Questiondirectx 9 ? Pin
bluatigro6-Sep-17 23:03
bluatigro6-Sep-17 23:03 
SuggestionRe: directx 9 ? Pin
Richard MacCutchan7-Sep-17 5:41
mveRichard MacCutchan7-Sep-17 5:41 
QuestionRe: directx 9 ? Pin
David Crow7-Sep-17 6:12
David Crow7-Sep-17 6:12 
AnswerRe: directx 9 ? Pin
leon de boer7-Sep-17 7:57
leon de boer7-Sep-17 7:57 

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.