-
September 5th, 2005, 11:53 AM
#1
C2061 Compiller error
Hi. I got error message when I try to build my project
"d:\Documents and Settings\Phoenix\Мои документы\My_app\autonapominalka\main.cpp(164): error C2061: syntax error : identifier 'form1'"
Code sample:
//--------------------------
Form * form1 = new error;
//some code
form1->Controls->Add(listbox);// error shows on this string
form1->Show();
//-----------------------------
So, I have declaration but Visual C++ thinks that form1 is undeclarated. How can i resolve the problem?
I use Visual Studio .NET 2003.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|