Click here to Skip to main content
15,920,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Return an Object By Value Pin
BlitzPackage29-Sep-06 18:04
BlitzPackage29-Sep-06 18:04 
AnswerRe: Return an Object By Value Pin
Anonymuos29-Sep-06 23:01
Anonymuos29-Sep-06 23:01 
AnswerRe: Return an Object By Value Pin
bob1697230-Sep-06 5:55
bob1697230-Sep-06 5:55 
QuestionFinding Your Own Responses Back Pin
Bram van Kampen29-Sep-06 16:39
Bram van Kampen29-Sep-06 16:39 
QuestionNotification of unhecking the checkbox inside the DateTimeCtrl... Pin
tamasan29-Sep-06 16:29
tamasan29-Sep-06 16:29 
AnswerRe: Notification of unhecking the checkbox inside the DateTimeCtrl... Pin
ShilpiP29-Sep-06 19:34
ShilpiP29-Sep-06 19:34 
AnswerRe: Notification of unhecking the checkbox inside the DateTimeCtrl... Pin
Hamid_RT2-Oct-06 9:38
Hamid_RT2-Oct-06 9:38 
QuestionErrors encountered when linking Dialog based application with C code Pin
searcher0829-Sep-06 16:24
searcher0829-Sep-06 16:24 
I have developed a simple dialog based GUI and was attempting to link some C-code to it in the CDialog class i.e. copying the C code into the file and updating the header files. However, when I started to compile it, the following errors were encountered. I have not done anything with the MFC header files and know that it cannot be due to the program. It might be the way I inserted the c code into the GUI application. Please advise. Thanks.

c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(122) : error C2059: syntax error : 'string'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2091: function returns function
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2802: static member 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2333: 'new' : error in function declaration; skipping function body
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2059: syntax error : 'string'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2091: function returns function
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2802: static member 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2059: syntax error : 'string'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2091: function returns function
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2556: 'void *(__cdecl *__stdcall CNoTrackObject::operator new(void))(unsigned int,const char *,int)' : overloaded function differs only by return type from 'void *(__c
decl *__stdcall CNoTrackObject::operator new(void))(unsigned int)'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : see declaration of 'new'
d:\code\jm\ldecod\inc\defines.h(22) : warning C4005: 'TRACE' : macro redefinition
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(218) : see previous definition of 'TRACE'
AVCDlg.cpp
c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2059: syntax error : 'newline'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(122) : error C2059: syntax error : 'string'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2091: function returns function
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2802: static member 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2333: 'new' : error in function declaration; skipping function body
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2059: syntax error : 'string'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2091: function returns function
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2802: static member 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2059: syntax error : 'string'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2091: function returns function
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2556: 'void *(__cdecl *__stdcall CNoTrackObject::operator new(void))(unsigned int,const char *,int)' : overloaded function differs only by return type from 'void *(__c
decl *__stdcall CNoTrackObject::operator new(void))(unsigned int)'
c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : see declaration of 'new'

OO KM
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
ShilpiP29-Sep-06 19:44
ShilpiP29-Sep-06 19:44 
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
Hamid_RT29-Sep-06 20:37
Hamid_RT29-Sep-06 20:37 
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
Hamid_RT30-Sep-06 21:08
Hamid_RT30-Sep-06 21:08 
QuestionRe: Errors encountered when linking Dialog based application with C code Pin
searcher082-Oct-06 10:08
searcher082-Oct-06 10:08 
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
Hamid_RT2-Oct-06 21:42
Hamid_RT2-Oct-06 21:42 
GeneralRe: Errors encountered when linking Dialog based application with C code Pin
searcher083-Oct-06 6:41
searcher083-Oct-06 6:41 
QuestionGetCountPerPage and Icon view Pin
Mohammad A Gdeisat29-Sep-06 16:19
Mohammad A Gdeisat29-Sep-06 16:19 
AnswerRe: GetCountPerPage and Icon view Pin
ShilpiP29-Sep-06 19:55
ShilpiP29-Sep-06 19:55 
GeneralRe: GetCountPerPage and Icon view Pin
Mohammad A Gdeisat29-Sep-06 22:02
Mohammad A Gdeisat29-Sep-06 22:02 
Questionfade in and out effect Pin
wintson198229-Sep-06 15:40
wintson198229-Sep-06 15:40 
AnswerRe: fade in and out effect Pin
Hamid_RT29-Sep-06 20:19
Hamid_RT29-Sep-06 20:19 
QuestionMicrosoft MIDI Mapper Pin
BeerBelly29-Sep-06 15:33
BeerBelly29-Sep-06 15:33 
AnswerRe: Microsoft MIDI Mapper Pin
Hamid_RT2-Oct-06 9:37
Hamid_RT2-Oct-06 9:37 
GeneralRe: Microsoft MIDI Mapper Pin
BeerBelly3-Oct-06 1:50
BeerBelly3-Oct-06 1:50 
GeneralRe: Microsoft MIDI Mapper Pin
Hamid_RT3-Oct-06 3:01
Hamid_RT3-Oct-06 3:01 
Questionhow to rename a file or a directory? Pin
Mohammad A Gdeisat29-Sep-06 14:41
Mohammad A Gdeisat29-Sep-06 14:41 
AnswerRe: how to rename a file or a directory? Pin
Mike_V29-Sep-06 17:40
Mike_V29-Sep-06 17:40 

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.