Click here to Skip to main content
15,912,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Launching Outlook from within a program Pin
MattWednesbury4-Feb-05 20:00
MattWednesbury4-Feb-05 20:00 
GeneralCreating Wrapper for ActiveX Control Pin
Rajesh_Parameswaran4-Feb-05 17:16
Rajesh_Parameswaran4-Feb-05 17:16 
GeneralRe: Creating Wrapper for ActiveX Control Pin
2249174-Feb-05 19:43
2249174-Feb-05 19:43 
GeneralVirtual Classes Pin
JKallen4-Feb-05 15:06
JKallen4-Feb-05 15:06 
GeneralRe: Virtual Classes Pin
Bob Ciora5-Feb-05 2:59
Bob Ciora5-Feb-05 2:59 
GeneralRe: Virtual Classes Pin
JKallen5-Feb-05 4:55
JKallen5-Feb-05 4:55 
GeneralActive Contours - snake Pin
merlinos4-Feb-05 11:03
merlinos4-Feb-05 11:03 
GeneralResizing view Pin
act_x4-Feb-05 10:57
act_x4-Feb-05 10:57 
GeneralHelp Creating Win32 Rich Text Box Pin
InflatableGarfield4-Feb-05 9:27
InflatableGarfield4-Feb-05 9:27 
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 

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.