Connecting Tech Pros Worldwide Help | Site Map

System::Windows::Forms; // won't compile

PeteOlcott
Guest
 
Posts: n/a
#1: Oct 9 '08
Error 1 error C3083: 'Window': the symbol to the left of a '::' must
be a type
Error 2 error C2039: 'Forms' : is not a member of 'System'
Error 3 error C2871: 'Forms' : a namespace with this name does not
exist
There are other "using namespace" declarations immediately above this
one that do compile.
Ben Voigt [C++ MVP]
Guest
 
Posts: n/a
#2: Oct 9 '08

re: System::Windows::Forms; // won't compile


PeteOlcott wrote:
Quote:
Error 1 error C3083: 'Window': the symbol to the left of a '::' must
be a type
It needs to be "Windows", with an 's' on the end. Also you must add the
appropriate reference in your project options.
Quote:
Error 2 error C2039: 'Forms' : is not a member of 'System'
Error 3 error C2871: 'Forms' : a namespace with this name does not
exist
There are other "using namespace" declarations immediately above this
one that do compile.

Closed Thread