Click here to Skip to main content
15,849,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAre they the same? The button and MFC button control Pin
Cptr11-Dec-15 3:44
Cptr11-Dec-15 3:44 
AnswerRe: Are they the same? The button and MFC button control Pin
Richard MacCutchan11-Dec-15 5:49
mveRichard MacCutchan11-Dec-15 5:49 
QuestionAfter including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron10-Dec-15 23:41
ptr_Electron10-Dec-15 23:41 
AnswerRe: After including #include <atlbase.h> I am getting error C2632 Pin
Jochen Arndt11-Dec-15 0:22
professionalJochen Arndt11-Dec-15 0:22 
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron11-Dec-15 4:34
ptr_Electron11-Dec-15 4:34 
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
Jochen Arndt11-Dec-15 5:07
professionalJochen Arndt11-Dec-15 5:07 
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron11-Dec-15 19:52
ptr_Electron11-Dec-15 19:52 
Questionproblem in solving "C4996" error Pin
VISWESWARAN199810-Dec-15 21:48
professionalVISWESWARAN199810-Dec-15 21:48 
Sir, I need to create "string" as an output using my formatted data.
To achieve this I did make use of "sprintf" function.But when building a solution using visual studio I get "C4996" error.

Here is the error message which I get:
Quote:
Severity Code Description Project File Line
Error C4996 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 155


to disable all depreciation I've used this preprocessors as per my compiler's suggestion
C++
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS

Confused | :confused: but still the error persists.I have also decreased the warning level.

Kindly help me.
AnswerRe: problem in solving "C4996" error Pin
Jochen Arndt10-Dec-15 22:16
professionalJochen Arndt10-Dec-15 22:16 
PraiseRe: problem in solving "C4996" error Pin
VISWESWARAN199811-Dec-15 1:39
professionalVISWESWARAN199811-Dec-15 1:39 
AnswerRe: problem in solving "C4996" error Pin
Richard MacCutchan10-Dec-15 22:57
mveRichard MacCutchan10-Dec-15 22:57 
PraiseRe: problem in solving "C4996" error Pin
VISWESWARAN199811-Dec-15 1:40
professionalVISWESWARAN199811-Dec-15 1:40 
QuestionPassing double pointer to function Pin
elelont29-Dec-15 22:49
elelont29-Dec-15 22:49 
AnswerRe: Passing double pointer to function Pin
Richard MacCutchan9-Dec-15 23:29
mveRichard MacCutchan9-Dec-15 23:29 
QuestionResize a Dialog Box (MDI-Application) Pin
Schehaider_Aymen8-Dec-15 0:05
Schehaider_Aymen8-Dec-15 0:05 
AnswerRe: Resize a Dialog Box (MDI-Application) Pin
Jochen Arndt8-Dec-15 0:29
professionalJochen Arndt8-Dec-15 0:29 
GeneralRe: Resize a Dialog Box (MDI-Application) Pin
Schehaider_Aymen9-Dec-15 3:30
Schehaider_Aymen9-Dec-15 3:30 
QuestionIssue with CFolderPickerDialog Pin
Prasanth.outofboxt7-Dec-15 19:50
Prasanth.outofboxt7-Dec-15 19:50 
AnswerRe: Issue with CFolderPickerDialog Pin
Richard MacCutchan7-Dec-15 23:15
mveRichard MacCutchan7-Dec-15 23:15 
GeneralRe: Issue with CFolderPickerDialog Pin
Prasanth.outofboxt14-Dec-15 22:39
Prasanth.outofboxt14-Dec-15 22:39 
QuestionSplitting Video Pin
savitap7-Dec-15 0:37
savitap7-Dec-15 0:37 
SuggestionRe: Splitting Video Pin
Richard MacCutchan7-Dec-15 1:33
mveRichard MacCutchan7-Dec-15 1:33 
Questionbinary trees Pin
Amr.Mohammad875-Dec-15 5:09
Amr.Mohammad875-Dec-15 5:09 
QuestionRe: binary trees Pin
CPallini5-Dec-15 5:25
mveCPallini5-Dec-15 5:25 
AnswerRe: binary trees Pin
Amr.Mohammad875-Dec-15 6:36
Amr.Mohammad875-Dec-15 6:36 

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.