error C2039: 'Windows' : is not a member of 'System'
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: error C2039: 'Windows' : is not a member of 'System'

  1. #1
    Join Date
    Mar 2008
    Posts
    12

    error C2039: 'Windows' : is not a member of 'System'

    Hi All,

    Could any one help me to resolve following error??

    "error C2039: 'Windows' : is not a member of 'System' "

    Regards,
    Sunil Adhyaru

  2. #2
    Join Date
    Aug 2005
    Location
    LI, NY
    Posts
    576

    Re: error C2039: 'Windows' : is not a member of 'System'

    I believe this error was generated by some kind of... code.

    Does that help?
    - Alon

  3. #3
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: error C2039: 'Windows' : is not a member of 'System'


  4. #4
    Join Date
    Mar 2008
    Posts
    12

    Re: error C2039: 'Windows' : is not a member of 'System'

    It is done.
    Thanks.

  5. #5
    Join Date
    Apr 2001
    Location
    CA , USA
    Posts
    83

    Re: error C2039: 'Windows' : is not a member of 'System'

    I am trying to try out adding a MFC dialog to a WPF window converting the dialog to a control as mentioned in this article.

    http://msdn.microsoft.com/en-us/library/aa970061.aspx

    How ever after I added the /CLR option to my project I get

    error C2039: 'Windows' : is not a member of 'System' error.

    I dont know what else needs to be done ?

    Shashi

  6. #6
    Join Date
    Apr 2001
    Location
    CA , USA
    Posts
    83

    Re: error C2039: 'Windows' : is not a member of 'System'

    I found out the issue myself..

    I was missing some references to dlls like PresentationCore, WindowsBase, PresentationFramework etc

    Shashi

  7. #7
    Join Date
    Apr 1999
    Posts
    27,444

    Re: error C2039: 'Windows' : is not a member of 'System'

    Quote Originally Posted by coolshashi View Post
    I dont know what else needs to be done ?
    Ask in another forum (the managed C++ forum). This one is not for WPF issues.

    Regards,

    Paul McKenzie

  8. #8
    Join Date
    Mar 2013
    Posts
    1

    Re: error C2039: 'Windows' : is not a member of 'System'

    Hi Sunil,

    Please contact me on 98250 12325

    Shreyans Shah
    Inspire Animations

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center