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

  • Thread starter Thread starter PeteOlcott
  • Start date Start date
P

PeteOlcott

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.
 
PeteOlcott said:
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.
 
Back
Top