0

내가 변경된 내용 모르겠지만, 어떤 이유로 나는 비주얼 스튜디오 2008 Windows Forms 디자이너에 문제가 받고 있어요 :의 Windows Forms 디자이너 플로트 오버 플로우

C++ CodeDOM parser error: Line: 1978, Column: 80 --- Float overflow

이 호출 스택은 지적하지 않는 것을 내 코드 중 하나에 :

at Microsoft.VisualC.CppCodeParser.OnMethodPopulateStatements(Object sender, EventArgs e) 
at System.CodeDom.CodeMemberMethod.get_Statements() 
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) 
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) 
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) 
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) 

코드를 컴파일하고 실행하면 정상적으로 작동합니다. 왜 내가이 문제를 보게 될지 아무도 모른다.

답변

1
/// Required method for Designer support - do not modify 
    /// the contents of this method with the code editor. 
+0

+1/수락 : 포인트 찍음! –

1

알 수 있습니다.

this->m_cmbStepSelect->Items->AddRange(gcnew cli::array<System::Object^>(5) {L"String1", L"String2", L"String3", L"String4", L"String5"}); 

으로 : 디자이너를 던졌다

#define NUM_OF_STRINGS (5) 
this->m_cmbStepSelect->Items->AddRange(gcnew cli::array<System::Object^>(NUM_OF_STRINGS) {L"String1", L"String2", L"String3", L"String4", L"String5"}); 

... 나는 다음과 같은 대체 것입니다.