Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ compiler Pin
Rage7-Jul-03 22:42
professionalRage7-Jul-03 22:42 
GeneralRe: C++ compiler Pin
BoudewijnEctor7-Jul-03 23:05
BoudewijnEctor7-Jul-03 23:05 
GeneralRe: C++ compiler Pin
Mike Dimmick7-Jul-03 23:06
Mike Dimmick7-Jul-03 23:06 
GeneralRe: C++ compiler Pin
BoudewijnEctor8-Jul-03 5:03
BoudewijnEctor8-Jul-03 5:03 
GeneralRe: C++ compiler Pin
Mike Dimmick8-Jul-03 5:19
Mike Dimmick8-Jul-03 5:19 
GeneralRe: C++ compiler Pin
BoudewijnEctor8-Jul-03 21:37
BoudewijnEctor8-Jul-03 21:37 
GeneralRe: C++ compiler Pin
Mike Dimmick8-Jul-03 22:49
Mike Dimmick8-Jul-03 22:49 
GeneralRe: C++ compiler Pin
BoudewijnEctor11-Jul-03 1:59
BoudewijnEctor11-Jul-03 1:59 
Yeah okay,


This might work, but if I press the build solution button, VS says Iit can't find all those namespaces (System ,System::IO etc.), is there some kind of header file from wich I can use these namespaces, or is there a workaround for thsi problem.


There are some more errors reported by the compiler, I'll show them below. I think there caused by the fact that the classes they're referencing are in the missing namespaces!



Errors (form output screen):

------ Build started: Project: eerste versie, Configuration: Debug Win32 ------

Compiling...
stdafx.cpp
Compiling...
Form1.cpp
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(26) : error C2871: 'System' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(27) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(27) : error C2871: 'ComponentModel' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(28) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(28) : error C2871: 'Collections' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(29) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(29) : error C2871: 'Forms' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(30) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(30) : error C2871: 'Data' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(31) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(31) : error C2871: 'Drawing' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(32) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(32) : error C2871: 'IO' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(33) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(33) : error C2871: 'Text' : a namespace with this name does not exist
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(44) : error C2059: syntax error : 'public'
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(44) : error C2059: syntax error : 'public'
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(44) : error C2653: 'System' : is not a class or namespace name
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(45) : error C2143: syntax error : missing ';' before '{'
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(45) : error C2447: '{' : missing function header (old-style formal list?)
c:\boudewijn\eerste versie\eerste versie\eerste versie\Form1.h(164) : fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option
AssemblyInfo.cpp
AssemblyInfo.cpp(3) : error C2653: 'System' : is not a class or namespace name
AssemblyInfo.cpp(3) : error C2871: 'Reflection' : a namespace with this name does not exist
AssemblyInfo.cpp(4) : error C2653: 'System' : is not a class or namespace name
AssemblyInfo.cpp(4) : error C2871: 'CompilerServices' : a namespace with this name does not exist
AssemblyInfo.cpp(11) : error C3746: 'AssemblyTitleAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(11) : error C2337: 'AssemblyTitleAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(12) : error C3746: 'AssemblyDescriptionAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(12) : error C2337: 'AssemblyDescriptionAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(13) : error C3746: 'AssemblyConfigurationAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(13) : error C2337: 'AssemblyConfigurationAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(14) : error C3746: 'AssemblyCompanyAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(14) : error C2337: 'AssemblyCompanyAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(15) : error C3746: 'AssemblyProductAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(15) : error C2337: 'AssemblyProductAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(16) : error C3746: 'AssemblyCopyrightAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(16) : error C2337: 'AssemblyCopyrightAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(17) : error C3746: 'AssemblyTrademarkAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(17) : error C2337: 'AssemblyTrademarkAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(18) : error C3746: 'AssemblyCultureAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(18) : error C2337: 'AssemblyCultureAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(31) : error C3746: 'AssemblyVersionAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(31) : error C2337: 'AssemblyVersionAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(55) : error C3746: 'AssemblyDelaySignAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(55) : error C2337: 'AssemblyDelaySignAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(56) : error C3746: 'AssemblyKeyFileAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(56) : error C2337: 'AssemblyKeyFileAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
AssemblyInfo.cpp(57) : error C3746: 'AssemblyKeyNameAttribute': only custom attributes can be used on assemblies or modules
AssemblyInfo.cpp(57) : error C2337: 'AssemblyKeyNameAttribute' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
Generating Code...

Build log was saved at "file://c:\boudewijn\eerste versie\eerste versie\eerste versie\Debug\BuildLog.htm"
eerste versie - 49 error(s), 0 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped
GeneralRe: C++ compiler Pin
Mike Dimmick11-Jul-03 2:32
Mike Dimmick11-Jul-03 2:32 
GeneralDisable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 19:58
xxhimanshu7-Jul-03 19:58 
GeneralRe: Disable Right Click Context menu!!! Pin
FlyingDancer7-Jul-03 20:36
FlyingDancer7-Jul-03 20:36 
GeneralRe: Doesnt work!!! Pin
xxhimanshu7-Jul-03 21:23
xxhimanshu7-Jul-03 21:23 
GeneralRe: Disable Right Click Context menu!!! Pin
Rage7-Jul-03 22:49
professionalRage7-Jul-03 22:49 
GeneralRe: Disable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 23:06
xxhimanshu7-Jul-03 23:06 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns7-Jul-03 22:53
Ryan Binns7-Jul-03 22:53 
GeneralRe: Disable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 23:08
xxhimanshu7-Jul-03 23:08 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns7-Jul-03 23:16
Ryan Binns7-Jul-03 23:16 
GeneralRe: Disable Right Click Context menu!!! Pin
Rage8-Jul-03 0:44
professionalRage8-Jul-03 0:44 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns8-Jul-03 0:47
Ryan Binns8-Jul-03 0:47 
GeneralRe: Disable Right Click Context menu!!! Pin
Iain Clarke, Warrior Programmer7-Jul-03 23:48
Iain Clarke, Warrior Programmer7-Jul-03 23:48 
GeneralAbout IOCTL_DISK_VERIFY Pin
FlyingDancer7-Jul-03 19:31
FlyingDancer7-Jul-03 19:31 
GeneralRe: About IOCTL_DISK_VERIFY Pin
David Crow8-Jul-03 3:16
David Crow8-Jul-03 3:16 
GeneralRe: About IOCTL_DISK_VERIFY Pin
FlyingDancer8-Jul-03 3:34
FlyingDancer8-Jul-03 3:34 
GeneralRe: About IOCTL_DISK_VERIFY Pin
FlyingDancer8-Jul-03 3:41
FlyingDancer8-Jul-03 3:41 
GeneralRe: About IOCTL_DISK_VERIFY Pin
David Crow8-Jul-03 4:47
David Crow8-Jul-03 4:47 

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.