Click here to Skip to main content
15,899,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help Creating Win32 Rich Text Box Pin
Chris Losinger4-Feb-05 10:38
professionalChris Losinger4-Feb-05 10:38 
GeneralRe: Help Creating Win32 Rich Text Box Pin
InflatableGarfield4-Feb-05 11:17
InflatableGarfield4-Feb-05 11:17 
GeneralRe: Help Creating Win32 Rich Text Box Pin
Chris Losinger4-Feb-05 12:32
professionalChris Losinger4-Feb-05 12:32 
GeneralRe: Help Creating Win32 Rich Text Box Pin
Jörgen Sigvardsson4-Feb-05 13:03
Jörgen Sigvardsson4-Feb-05 13:03 
GeneralRe: Help Creating Win32 Rich Text Box Pin
Jörgen Sigvardsson4-Feb-05 12:58
Jörgen Sigvardsson4-Feb-05 12:58 
GeneralRe: Help Creating Win32 Rich Text Box Pin
Jörgen Sigvardsson4-Feb-05 13:10
Jörgen Sigvardsson4-Feb-05 13:10 
GeneralRe: Help Creating Win32 Rich Text Box Pin
InflatableGarfield5-Feb-05 0:02
InflatableGarfield5-Feb-05 0:02 
GeneralMoving Projects Pin
Grahamfff4-Feb-05 9:19
Grahamfff4-Feb-05 9:19 
My project (VS 7.1) builds and run OK on my Windows 2K PC, but when I clean the solution and copy it over to a Windows XP PC I get loads of error, (see below) I cant seem to find the cause.

The cod HAS NOT changed!

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1553): error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1640): error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1647): error C2059: syntax error : ')'
\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(205): error C2143: syntax error : missing ';' before '*'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1620): error C2143: syntax error : missing ';' before '__stdcall'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1553): error C2146: syntax error : missing ')' before identifier 'hResData'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): error C2146: syntax error : missing ')' before identifier 'hResData'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(5216): error C2146: syntax error : missing ';' before identifier 'CompletionPort'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(5216): error C2146: syntax error : missing ';' before identifier 'CompletionPort'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(208): error C2146: syntax error : missing ';' before identifier 'GLOBALHANDLE'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(208): error C2146: syntax error : missing ';' before identifier 'GLOBALHANDLE'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1628): error C2370: 'HGLOBAL' : redefinition; different storage class
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(205): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(206): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(207): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(208): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(209): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(334): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(340): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(204): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(205): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(206): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(207): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(208): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(209): error C2378: 'HANDLE' : redefinition; symbol cannot be overloaded with a typedef
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): error C2440: 'initializing' : cannot convert from 'int' to 'LPVOID'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1655): error C2440: 'initializing' : cannot convert from 'int' to 'LPVOID'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): error C2440: 'initializing' : cannot convert from 'int' to 'LPVOID'
\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1671): error C2491: 'GlobalUnlock' : definition of dllimport data not allowed
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): error C2491: 'LockResource' : definition of dllimport data not allowed
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): error C2491: 'LockResource' : definition of dllimport data not allowed
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(683): error C2501: '_CREATE_PROCESS_DEBUG_INFO::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(684): error C2501: '_CREATE_PROCESS_DEBUG_INFO::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(685): error C2501: '_CREATE_PROCESS_DEBUG_INFO::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(683): error C2501: '_CREATE_PROCESS_DEBUG_INFO::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(684): error C2501: '_CREATE_PROCESS_DEBUG_INFO::HANDLE' : missing storage-class or type specifiers
C2501: '_PROCESS_INFORMATION::hThread' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(8211): error C2501: '_RTL_CRITICAL_SECTION::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(8212): error C2501: '_RTL_CRITICAL_SECTION::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(8211): error C2501: '_RTL_CRITICAL_SECTION::HANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1620): error C2501: 'HGLOBAL' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1628): error C2501: 'HGLOBAL' : missing storage-class or type specifiers
\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(204): error C2501: 'SPHANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(204): error C2501: 'SPHANDLE' : missing storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1630): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1639): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1646): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1654): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1670): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1630): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1639): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1646): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1654): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1670): error C3861: 'HGLOBAL': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1676): fatal error C1003: error count exceeds 100; stopping compilation
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1676): fatal error C1003: error count exceeds 100; stopping compilation
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1553): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1630): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1640): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1647): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1655): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1671): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1553): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1560): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1630): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1640): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1647): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1655): warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1671): warning C4229: anachronism used : modifiers on data are ignored


grahamfff
GeneralRe: Moving Projects Pin
Steve Maier4-Feb-05 9:59
professionalSteve Maier4-Feb-05 9:59 
GeneralRe: Moving Projects Pin
Grahamfff4-Feb-05 10:02
Grahamfff4-Feb-05 10:02 
GeneralRe: Moving Projects Pin
Steve Maier4-Feb-05 10:07
professionalSteve Maier4-Feb-05 10:07 
GeneralRe: Moving Projects Pin
Grahamfff5-Feb-05 3:54
Grahamfff5-Feb-05 3:54 
QuestioniPod SDK? Pin
Ravi Bhavnani4-Feb-05 8:47
professionalRavi Bhavnani4-Feb-05 8:47 
Answer(Never mind) iPod SDK? Pin
Ravi Bhavnani4-Feb-05 9:08
professionalRavi Bhavnani4-Feb-05 9:08 
GeneralRe: (Never mind) iPod SDK? Pin
2249174-Feb-05 18:04
2249174-Feb-05 18:04 
GeneralRe: (Never mind) iPod SDK? Pin
ThatsAlok4-Feb-05 22:11
ThatsAlok4-Feb-05 22:11 
GeneralJava gui to c++ back end Pin
monageasmear4-Feb-05 8:24
monageasmear4-Feb-05 8:24 
GeneralRe: Java gui to c++ back end Pin
Peter Weyzen4-Feb-05 8:37
Peter Weyzen4-Feb-05 8:37 
GeneralRe: Java gui to c++ back end Pin
Ravi Bhavnani4-Feb-05 8:38
professionalRavi Bhavnani4-Feb-05 8:38 
GeneralCDialog in C++.Net Pin
pnpfriend4-Feb-05 7:48
pnpfriend4-Feb-05 7:48 
GeneralRe: CDialog in C++.Net Pin
Signal-94-Feb-05 17:20
Signal-94-Feb-05 17:20 
GeneralRe: CDialog in C++.Net Pin
venura c.p.w. goonatillake4-Feb-05 19:01
venura c.p.w. goonatillake4-Feb-05 19:01 
Generalresizing control to whole size of formview Pin
BlackDice4-Feb-05 7:30
BlackDice4-Feb-05 7:30 
GeneralWorks except for Redraw Pin
BlackDice4-Feb-05 9:13
BlackDice4-Feb-05 9:13 
GeneralCListCtrl not created in CFormView Pin
Maverick4-Feb-05 7:13
Maverick4-Feb-05 7:13 

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.