Click here to Skip to main content
14,663,788 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need a suggestion in searching a file Pin
Richard MacCutchan21-Mar-16 22:22
mveRichard MacCutchan21-Mar-16 22:22 
PraiseRe: Need a suggestion in searching a file Pin
VISWESWARAN199824-Mar-16 6:37
professionalVISWESWARAN199824-Mar-16 6:37 
QuestionAre they the same? The button and MFC button control Pin
Cptr11-Dec-15 2:44
MemberCptr11-Dec-15 2:44 
AnswerRe: Are they the same? The button and MFC button control Pin
Richard MacCutchan11-Dec-15 4:49
mveRichard MacCutchan11-Dec-15 4:49 
QuestionAfter including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron10-Dec-15 22:41
Memberptr_Electron10-Dec-15 22:41 
AnswerRe: After including #include <atlbase.h> I am getting error C2632 Pin
Jochen Arndt10-Dec-15 23:22
professionalJochen Arndt10-Dec-15 23:22 
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron11-Dec-15 3:34
Memberptr_Electron11-Dec-15 3:34 
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
Jochen Arndt11-Dec-15 4:07
professionalJochen Arndt11-Dec-15 4:07 
When you use ATL, then your application is not a non-ATL one.

The first error message is "same type qualifier used more than once". So byte has been already defined.

The next one "'char' followed by 'char' is illegal" indicates that byte has been probably defined using a #define statement so that the compiler sees
typedef unsigned char char;

The third error is just based on the previous one.

So the goal is to find the previous definition of byte and check if the definition can be suppressed or the header file containing it might be included later. That might be some work because atlbase.h includes a lot of other files. I did a quick search but did not found it. But you should better perform this search with your files because they may change with the Visual Studi and the SDK versions.
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron11-Dec-15 18:52
Memberptr_Electron11-Dec-15 18:52 
Questionproblem in solving "C4996" error Pin
VISWESWARAN199810-Dec-15 20:48
professionalVISWESWARAN199810-Dec-15 20:48 
AnswerRe: problem in solving "C4996" error Pin
Jochen Arndt10-Dec-15 21:16
professionalJochen Arndt10-Dec-15 21:16 
PraiseRe: problem in solving "C4996" error Pin
VISWESWARAN199811-Dec-15 0:39
professionalVISWESWARAN199811-Dec-15 0:39 
AnswerRe: problem in solving "C4996" error Pin
Richard MacCutchan10-Dec-15 21:57
mveRichard MacCutchan10-Dec-15 21:57 
PraiseRe: problem in solving "C4996" error Pin
VISWESWARAN199811-Dec-15 0:40
professionalVISWESWARAN199811-Dec-15 0:40 
QuestionPassing double pointer to function Pin
elelont29-Dec-15 21:49
Memberelelont29-Dec-15 21:49 
AnswerRe: Passing double pointer to function Pin
Richard MacCutchan9-Dec-15 22:29
mveRichard MacCutchan9-Dec-15 22:29 
QuestionResize a Dialog Box (MDI-Application) Pin
Schehaider_Aymen7-Dec-15 23:05
MemberSchehaider_Aymen7-Dec-15 23:05 
AnswerRe: Resize a Dialog Box (MDI-Application) Pin
Jochen Arndt7-Dec-15 23:29
professionalJochen Arndt7-Dec-15 23:29 
GeneralRe: Resize a Dialog Box (MDI-Application) Pin
Schehaider_Aymen9-Dec-15 2:30
MemberSchehaider_Aymen9-Dec-15 2:30 
QuestionIssue with CFolderPickerDialog Pin
Prasanth.outofboxt7-Dec-15 18:50
MemberPrasanth.outofboxt7-Dec-15 18:50 
AnswerRe: Issue with CFolderPickerDialog Pin
Richard MacCutchan7-Dec-15 22:15
mveRichard MacCutchan7-Dec-15 22:15 
GeneralRe: Issue with CFolderPickerDialog Pin
Prasanth.outofboxt14-Dec-15 21:39
MemberPrasanth.outofboxt14-Dec-15 21:39 
QuestionSplitting Video Pin
savitap6-Dec-15 23:37
Membersavitap6-Dec-15 23:37 
SuggestionRe: Splitting Video Pin
Richard MacCutchan7-Dec-15 0:33
mveRichard MacCutchan7-Dec-15 0:33 
Questionbinary trees Pin
Amr.Mohammad875-Dec-15 4:09
MemberAmr.Mohammad875-Dec-15 4:09 

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.