Click here to Skip to main content
15,926,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Crashing problem Pin
CPallini14-Jul-08 21:45
mveCPallini14-Jul-08 21:45 
GeneralRe: Crashing problem Pin
ThatsAlok15-Jul-08 3:29
ThatsAlok15-Jul-08 3:29 
Questionrefresh problem in tabs Pin
Sunayna14-Jul-08 21:29
Sunayna14-Jul-08 21:29 
QuestionRe: refresh problem in tabs Pin
Mark Salsbery15-Jul-08 6:09
Mark Salsbery15-Jul-08 6:09 
AnswerRe: refresh problem in tabs Pin
Sunayna15-Jul-08 20:26
Sunayna15-Jul-08 20:26 
GeneralRe: refresh problem in tabs Pin
Mark Salsbery16-Jul-08 5:39
Mark Salsbery16-Jul-08 5:39 
GeneralRe: refresh problem in tabs Pin
Sunayna16-Jul-08 17:59
Sunayna16-Jul-08 17:59 
QuestionVS2005 compile error after updates Pin
gluballs14-Jul-08 21:28
gluballs14-Jul-08 21:28 
A couple of weeks ago I enabled XP's automatic updates (it hadn't been upgraded since I installed XP SP1 a year ago). After the upgrade (XP SP2 and it also did some secuirty upgrade to my VS2005) I cannot build any of my code anymore. At first I got a bunch of errors, then I retarted my machine, at which point there was an error message on boot up that I've never seen before, immediately followed by an "automated" fix. Now when I try to recompile again it still doesn't work, but the errors are different.

------ Rebuild All started: Project: NSMAnalysis, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'NSMAnalysis', configuration 'Release|Win32'
Compiling...
stdafx.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(2613) : error C2061: syntax error : identifier 'HDROP'
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(3621) : error C2061: syntax error : identifier 'HDROP'
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(70) : error C2039: 'DragAcceptFiles' : is not a member of '`global namespace''
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(70) : error C2660: 'CWnd::DragAcceptFiles' : function does not take 2 arguments
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(423) : error C2065: 'HDROP' : undeclared identifier
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin2.inl(424) : error C2448: 'CWnd::OnDropFiles' : function-style initializer appears to be a function definition


I can't find where HDROP is defined but the error concerning DragAcceptFiles is strange. afxwin2.inl calls this function with 2 arguments but it's defined in afxwin.h with only one. How is this possible? Were the header files changed during the updates?? If they weren't how did it EVER work?

Thanks.

Mike
|
AnswerRe: VS2005 compile error after updates Pin
kDevloper15-Jul-08 1:20
kDevloper15-Jul-08 1:20 
QuestionDeleting the popup menu Pin
Sunayna14-Jul-08 21:25
Sunayna14-Jul-08 21:25 
QuestionRe: Deleting the popup menu Pin
CPallini14-Jul-08 22:13
mveCPallini14-Jul-08 22:13 
AnswerRe: Deleting the popup menu Pin
Sunayna14-Jul-08 22:15
Sunayna14-Jul-08 22:15 
GeneralOK! Pin
CPallini14-Jul-08 22:24
mveCPallini14-Jul-08 22:24 
QuestionRe: Deleting the popup menu Pin
Rajesh R Subramanian15-Jul-08 2:17
professionalRajesh R Subramanian15-Jul-08 2:17 
AnswerRe: Deleting the popup menu Pin
ThatsAlok15-Jul-08 3:32
ThatsAlok15-Jul-08 3:32 
GeneralRe: Deleting the popup menu Pin
SandipG 15-Jul-08 3:35
SandipG 15-Jul-08 3:35 
QuestionProblem with pageup and pagedown keys Pin
Sunayna14-Jul-08 21:23
Sunayna14-Jul-08 21:23 
AnswerRe: Problem with pageup and pagedown keys Pin
Nelek14-Jul-08 21:26
protectorNelek14-Jul-08 21:26 
GeneralRe: Problem with pageup and pagedown keys Pin
Sunayna14-Jul-08 22:57
Sunayna14-Jul-08 22:57 
GeneralRe: Problem with pageup and pagedown keys Pin
Nelek15-Jul-08 1:34
protectorNelek15-Jul-08 1:34 
QuestionHow to use command line arguments in a win32 application? Pin
Sauce!14-Jul-08 21:14
Sauce!14-Jul-08 21:14 
AnswerRe: How to use command line arguments in a win32 application? Pin
Cedric Moonen14-Jul-08 21:26
Cedric Moonen14-Jul-08 21:26 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!14-Jul-08 21:36
Sauce!14-Jul-08 21:36 
AnswerRe: How to use command line arguments in a win32 application? Pin
CPallini14-Jul-08 21:41
mveCPallini14-Jul-08 21:41 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!14-Jul-08 21:50
Sauce!14-Jul-08 21:50 

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.