CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    219

    ERROR_CLASS_DOES_NOT_EXIST 1411 (0x583)

    Hello, I''m trying to make a window, it worked fine, but now it dont.

    I'm getting the error, I got it by using GetLAstError(), this is the code:
    Code:
    MapleActive = CreateWindowEx(WS_EX_LEFT,TEXT("static"), TEXT("MapleStory Status:"), WS_CHILD | WS_VISIBLE | SS_LEFT ,150, 10, 140, 18,hWnd, 0, hInstance,NULL);
    ERROR_CLASS_DOES_NOT_EXIST
    1411 (0x583)

    that error, how can i solve? O_o I'm not even using a class, and im sure it worked fine.

    thanks.

  2. #2
    Join Date
    Jul 2009
    Location
    Gothenburg
    Posts
    12

    Re: ERROR_CLASS_DOES_NOT_EXIST 1411 (0x583)

    The window class (the second parameter) you're trying to use does not exist. AFAIK the names of window classes are case-sensitive so what you want is
    Code:
    TEXT("STATIC")
    instead.
    Last edited by spacewarp; July 20th, 2010 at 12:59 PM.

  3. #3
    Join Date
    Aug 2009
    Posts
    219

    Re: ERROR_CLASS_DOES_NOT_EXIST 1411 (0x583)

    Nop that isnt it, sometimes it does work others not, really werid.

  4. #4
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: ERROR_CLASS_DOES_NOT_EXIST 1411 (0x583)

    Quote Originally Posted by NLscotty View Post
    Nop that isnt it, sometimes it does work others not, really werid.
    This IS weird!
    The window class either exists or not, but the behavior should be consistent.
    Do you see it with the same window class? Always “static”?
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured