C++ errory

0

Dzień dobry. Mam taki oto problem. Parę dni temu zrobiłem sobie programik. Wszystko ładnie skompilowałem w VS 2008. Uruchomiłem i śmigało. Przedwczoraj włączam ten sam program, bo chciałem w nim jeszcze pogrzebać, a tu przy próbie kompilacji wyskakują mi takie błędy:


Build started: Project: Program, Configuration: Debug|Win32

Command Lines
 	 	

Creating temporary file "c:\Users\Pawelek\Desktop\Program\Program\Debug\RSP0000013000420.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yu"stdafx.h" /Fp"Debug\Program.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /Zi /clr:pure /TP /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll" /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll" /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll" /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll" /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.XML.dll" /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Messaging.dll" /FU "c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll"

.\Program.cpp

.\AssemblyInfo.cpp

.\1.cpp
]
Creating command line "cl.exe @c:\Users\Pawelek\Desktop\Program\Program\Debug\RSP0000013000420.rsp /nologo /errorReport:prompt"

Output Window
 	 	

Compiling...
Program.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(80) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(80) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(80) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(80) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(118) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(118) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(118) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(118) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(126) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(126) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(126) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(126) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(343) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(343) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(343) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(343) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(359) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(359) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(359) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(359) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(375) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(375) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(375) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(375) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(888) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(888) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(888) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(888) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1130) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1130) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1130) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1130) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1159) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1159) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1159) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1159) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1771) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1771) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1771) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(1771) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2018) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2018) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2018) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2018) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2292) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2292) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2292) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2292) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2323) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2323) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2323) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale(2323) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(444) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(444) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(444) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(444) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(499) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(499) : error C3861: 'PrepareConstrainedRegions': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(499) : error C2039: 'PrepareConstrainedRegions' : is not a member of 'System::Runtime::CompilerServices::RuntimeHelpers'
        c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Runtime::CompilerServices::RuntimeHelpers'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xiosbase(499) : error C3861: 'PrepareConstrainedRegions': identifier not found
c:\users\pawelek\desktop\program\program\Form1.h(28) : fatal error C1903: unable to recover from previous error(s); stopping compilation
        This diagnostic occurred while importing type 'System::Runtime::Remoting::Proxies::CallType ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::MarshalByRefObject ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::ComponentModel::Component ' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::Control ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::ScrollableControl ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::ContainerControl ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::Form ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
AssemblyInfo.cpp
.\AssemblyInfo.cpp(36) : error C2664: 'System::Runtime::InteropServices::ComVisibleAttribute::ComVisibleAttribute(System::Type ^)' : cannot convert parameter 1 from 'bool' to 'System::Type ^'
        No user-defined-conversion operator available, or
        No standard conversion exists from the boxed form of the arithmetic type to the target type
.\AssemblyInfo.cpp(40) : error C4694: 'System::Security::Permissions::BuiltInPermissionIndex': a sealed abstract class cannot have a base-class 'System::Security::Permissions::HostProtectionPermission'
        This diagnostic occurred while importing type 'System::Security::Permissions::BuiltInPermissionIndex ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityPermissionAttribute ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : error C2086: 'System::Security::Permissions::SecurityAction .ctor' : redefinition
        .\AssemblyInfo.cpp(40) : see declaration of '.ctor'
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : error C2086: 'System::Security::Permissions::SecurityAction .ctor' : redefinition
        .\AssemblyInfo.cpp(40) : see declaration of '.ctor'
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : error C2086: 'System::Security::Permissions::SecurityAction ToXml' : redefinition
        .\AssemblyInfo.cpp(40) : see declaration of 'ToXml'
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : warning C4309: 'initializing' : truncation of constant value
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : warning C4309: 'initializing' : truncation of constant value
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : warning C4309: 'initializing' : truncation of constant value
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : warning C4309: 'initializing' : truncation of constant value
        This diagnostic occurred while importing type 'System::Security::Permissions::SecurityAction ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
.\AssemblyInfo.cpp(40) : error C2838: 'RequestMinimum' : illegal qualified name in member declaration
.\AssemblyInfo.cpp(40) : error C2065: 'RequestMinimum' : undeclared identifier
        missing quotes ("") around 'RequestMinimum'?
1.cpp
c:\users\pawelek\desktop\program\program\1.h(23) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1411)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
        This diagnostic occurred while importing type 'System::Runtime::Remoting::Proxies::CallType ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::MarshalByRefObject ' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::ComponentModel::Component ' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::Control ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::ScrollableControl ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::ContainerControl ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
        This diagnostic occurred while importing type 'System::Windows::Forms::Form ' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information

Results
 	 	

Build log was saved at "file://c:\Users\Pawelek\Desktop\Program\Program\Debug\BuildLog.htm"
Program - 69 error(s), 4 warning(s)

Czy ktoś ma może pomysł jak się tego pozbyć?:S Zrobiłem reinstall VS2008, nic nie pomogło. Nawet system postawiłem od nowa i niestety nadal to samo. Proszę o wszelką pomoc:(

0

Wygląda na to że brakuje plików do których odwołują się dyrektywy include lub odwrotnie, czyli że pliki masz dołączone do programu, ale nie masz tego w kodzie.Może jeszcze brakować jakichś przestrzeni nazw.

Było by dobrze zobaczyć ten kod, aby odpowiedzieć co się dzieje.

0

cóż, sam kod zajmuje 3 tyś linijek.
Przed chwilką usunąłem pierwszą linijkę której w ogóle nie pamietałem #pragma once i wsyzstko się skompilowało. Czy możesz mi powiedzieć do czego ona służy? I czemu nagle wszystko poszło?:)

0
#pragma once

to jest strażnik nagłówka. Oznacza że dany nagłówek zostanie do jakiegos pliku dołączony nie więcej niż 1 raz. Klasycznie stosuje się zamiast tego (bo nie każdy kompilator obsługuje):

#ifndef UNIKALNA_NAZWA
#define UNIKALNA_NAZWA
//kod
#endif
0

To dziwne, bo jej dodanie raczej pomaga a nie szkodzi. na dodatek

c:\users\pawelek\desktop\program\program\1.h(23) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1411)

wywala ci się kompilator, a to już jest ewidentnie kompilatora wina.

Treść błędów jakie dostawałeś sugeruje, że próbowałeś kompilować pod .Net Framework 1.x program wymagający 2.0. To też dziwne, bo VS 2008 w ogóle nie wspiera Frameworka 1.0.
Skoro jednak usunięcie linijki #pragma once „poprawia” błąd, to znaczy że masz coś namieszane z inkludami.
Może się teraz skompilowało, ale coś nadal masz źle.

0

cóż, trochę pogrzebałem w programie i znów powtórka z rozrywki:)
#pragma once
#include <ctype.h>
#include <iostream>
#include <ctime>
#include <stdio.h>
#include <windows.h>

tych używam. Sam program pokazuje, że wszystko jest skompilowane, mimo tego nie przyjmuje zmian których dokonałem .

1 użytkowników online, w tym zalogowanych: 0, gości: 1