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

C / C++ / MFC

 
GeneralRe: MDIParent problems Pin
C# Beginner Nick26-Aug-08 17:42
C# Beginner Nick26-Aug-08 17:42 
Questionlist ".remove()" issue Pin
FrankMookie26-Aug-08 8:27
FrankMookie26-Aug-08 8:27 
AnswerRe: list ".remove()" issue Pin
Roger Stoltz26-Aug-08 9:09
Roger Stoltz26-Aug-08 9:09 
QuestionRe: list ".remove()" issue Pin
led mike26-Aug-08 10:21
led mike26-Aug-08 10:21 
AnswerRe: list ".remove()" issue Pin
FrankMookie26-Aug-08 12:05
FrankMookie26-Aug-08 12:05 
QuestionRe: list ".remove()" issue Pin
led mike27-Aug-08 5:04
led mike27-Aug-08 5:04 
GeneralRe: list ".remove()" issue Pin
FrankMookie27-Aug-08 6:07
FrankMookie27-Aug-08 6:07 
QuestionVC++ 6 - > VS2005 ATL Compile Errors Pin
Doug Knudson26-Aug-08 7:28
Doug Knudson26-Aug-08 7:28 
Hi,

I have tried allowing VS2005 to convert several existing 'VC++6 compilable' projects and with each the results are the same. Tons of ATL related compile errors. None of the projects that I am trying to convert even use ATL! I am assuming this is some sort of compiler/preprocessor setting? The errors occur in:

atlalloc.h
atlconv.h
atldebugapi.h
atltrace.h

I have included below, the first part of the Output display from the compile.

Any help, ideas or a pointer to an answer would be greatly appreciated!

Thanks,
Doug



------ Build started: Project: TPC, Configuration: Debug Win32 ------
Compiling...
StdAfx.cpp
 WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications.  To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
d:\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(228) : error C2065: 'DWORD_PTR' : undeclared identifier
d:\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(228) : error C2143: syntax error : missing ';' before 'GetWindowThreadProcessId'
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(80) : error C2065: 'LLONG_MIN' : undeclared identifier
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(80) : error C2057: expected constant expression
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(81) : error C2065: 'LLONG_MAX' : undeclared identifier
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(81) : error C2057: expected constant expression
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(89) : error C2065: 'ULLONG_MAX' : undeclared identifier
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(89) : error C2057: expected constant expression
d:\microsoft visual studio 8\vc\atlmfc\include\atlalloc.h(603) : error C3861: '_resetstkoflw': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(92) : error C2061: syntax error : identifier 'LONG_PTR'
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(92) : error C2146: syntax error : missing '(' before identifier 'LONG_PTR'
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(92) : error C2061: syntax error : identifier 'LONG_PTR'
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(92) : error C2146: syntax error : missing '(' before identifier 'LONG_PTR'
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(752) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(754) : error C3861: 'wcscat_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1034) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1047) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1063) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1084) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1093) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1138) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1147) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1264) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1277) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atlconv.h(1293) : error C3861: 'memcpy_s': identifier not found
d:\microsoft visual studio 8\vc\atlmfc\include\atldebugapi.h(31) : error C2143: syntax error : missing ';' before '__stdcall'
d:\microsoft visual studio 8\vc\atlmfc\include\atldebugapi.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
d:\microsoft visual studio 8\vc\atlmfc\include\atldebugapi.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
d:\microsoft visual studio 8\vc\atlmfc\include\atldebugapi.h(32) : error C2146: syntax error : missing ')' before identifier 'dwProcess'
d:\microsoft visual studio 8\vc\atlmfc\include\atldebugapi.h(32) : warning C4229: anachronism used : modifiers on data are ignored
d:\microsoft visual studio 8\vc\atlmfc\include\atldebugapi.h(32) : error C2182: 'AtlTraceCloseProcess' : illegal use of type 'void'


Doug Knudson

AnswerRe: VC++ 6 - > VS2005 ATL Compile Errors Pin
Perspx26-Aug-08 8:00
Perspx26-Aug-08 8:00 
QuestionApplication crash Pin
ptr_Electron26-Aug-08 2:57
ptr_Electron26-Aug-08 2:57 
AnswerRe: Application crash Pin
toxcct26-Aug-08 3:06
toxcct26-Aug-08 3:06 
AnswerRe: Application crash Pin
SandipG 26-Aug-08 3:14
SandipG 26-Aug-08 3:14 
QuestionRe: Application crash Pin
David Crow26-Aug-08 4:16
David Crow26-Aug-08 4:16 
JokeRe: Application crash Pin
Mark Salsbery26-Aug-08 5:19
Mark Salsbery26-Aug-08 5:19 
QuestionRe: Application crash Pin
David Crow26-Aug-08 5:23
David Crow26-Aug-08 5:23 
GeneralRe: Application crash Pin
led mike26-Aug-08 4:58
led mike26-Aug-08 4:58 
AnswerRe: Application crash Pin
Jijo.Raj26-Aug-08 6:27
Jijo.Raj26-Aug-08 6:27 
GeneralRe: Application crash Pin
ptr_Electron26-Aug-08 19:45
ptr_Electron26-Aug-08 19:45 
GeneralRe: Application crash Pin
Jijo.Raj26-Aug-08 19:55
Jijo.Raj26-Aug-08 19:55 
GeneralRe: Application crash Pin
ptr_Electron26-Aug-08 20:01
ptr_Electron26-Aug-08 20:01 
GeneralRe: Application crash Pin
Jijo.Raj26-Aug-08 20:43
Jijo.Raj26-Aug-08 20:43 
GeneralRe: Application crash Pin
ptr_Electron26-Aug-08 21:16
ptr_Electron26-Aug-08 21:16 
QuestionRe: Application crash Pin
Jijo.Raj26-Aug-08 22:47
Jijo.Raj26-Aug-08 22:47 
AnswerRe: Application crash [modified] Pin
ptr_Electron8-Sep-08 0:51
ptr_Electron8-Sep-08 0:51 
QuestionHow can Compare two dates? Pin
Le@rner26-Aug-08 2:33
Le@rner26-Aug-08 2:33 

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.