Click here to Skip to main content
15,893,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: STL Qs Pin
Jörgen Sigvardsson9-Apr-06 10:40
Jörgen Sigvardsson9-Apr-06 10:40 
QuestionCArray of CBrush and CRgn Pin
stifmeister_ro9-Apr-06 6:10
stifmeister_ro9-Apr-06 6:10 
AnswerRe: CArray of CBrush and CRgn Pin
Michael Dunn9-Apr-06 7:15
sitebuilderMichael Dunn9-Apr-06 7:15 
QuestionKeyboard hook code explanation Pin
EvScott9-Apr-06 5:42
EvScott9-Apr-06 5:42 
AnswerRe: Keyboard hook code explanation Pin
David Crow10-Apr-06 3:32
David Crow10-Apr-06 3:32 
Questionstack trace Pin
LiYS9-Apr-06 4:17
LiYS9-Apr-06 4:17 
QuestionC++ ISO Compliance Pin
HalfWayMan9-Apr-06 4:11
HalfWayMan9-Apr-06 4:11 
AnswerRe: C++ ISO Compliance Pin
Hans9-Apr-06 7:03
Hans9-Apr-06 7:03 
Yes the annoying security warnings Wink | ;-)
There are many reasons to not use the new functions, even if MS recommends:
- your code gets much more complicated
- no cross-compiling with other compilers/operating systems possible
- every open-source lib you use will bring again these warnings

It is also widely not understood that the wrong functions were blamed by
MS. Most of them are not unsafe and never were. But they depend on correct
usage, so you as the programmer are in charge to not give them garbage.
So, my advice is to use the old functions, and check (if you must use plain C)
every buffer for long enough size, esp. if you get data from user input.

Hans
GeneralRe: C++ ISO Compliance Pin
HalfWayMan10-Apr-06 7:34
HalfWayMan10-Apr-06 7:34 
Questionproblem in retrieving records Pin
swapna_signsin9-Apr-06 3:11
swapna_signsin9-Apr-06 3:11 
AnswerRe: problem in retrieving records Pin
thatsme_cool9-Apr-06 21:09
thatsme_cool9-Apr-06 21:09 
QuestionRe: problem in retrieving records Pin
David Crow10-Apr-06 3:41
David Crow10-Apr-06 3:41 
AnswerRe: problem in retrieving records Pin
swapna_signsin10-Apr-06 21:42
swapna_signsin10-Apr-06 21:42 
Questionhow can i get the main window after shellexecuteex Pin
supertianqu9-Apr-06 1:57
supertianqu9-Apr-06 1:57 
AnswerRe: how can i get the main window after shellexecuteex Pin
YaronNir9-Apr-06 2:23
YaronNir9-Apr-06 2:23 
QuestionHow to run a console application in MFC Pin
kflrei9-Apr-06 1:50
kflrei9-Apr-06 1:50 
AnswerRe: How to run a console application in MFC Pin
mehrdadov9-Apr-06 1:55
mehrdadov9-Apr-06 1:55 
GeneralRe: How to run a console application in MFC Pin
supertianqu9-Apr-06 1:58
supertianqu9-Apr-06 1:58 
AnswerRe: How to run a console application in MFC Pin
David Crow10-Apr-06 3:44
David Crow10-Apr-06 3:44 
QuestionMove Window Pin
mehrdadov9-Apr-06 1:49
mehrdadov9-Apr-06 1:49 
AnswerRe: Move Window Pin
YaronNir9-Apr-06 2:28
YaronNir9-Apr-06 2:28 
AnswerRe: Move Window Pin
PJ Arends9-Apr-06 11:14
professionalPJ Arends9-Apr-06 11:14 
AnswerRe: Move Window Pin
ThatsAlok9-Apr-06 19:13
ThatsAlok9-Apr-06 19:13 
Questionint32 = (char1,char2,char3,char4) Pin
big_denny_2009-Apr-06 1:45
big_denny_2009-Apr-06 1:45 
AnswerRe: int32 = (char1,char2,char3,char4) Pin
Hamid_RT9-Apr-06 3:13
Hamid_RT9-Apr-06 3:13 

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.