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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PeteOlcott

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

    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]

    #2
    Re: System::Windows ::Forms; // won't compile

    PeteOlcott wrote:
    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.
    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.

    Comment

    Working...