Error I Dont Understand

This is a discussion on Error I Dont Understand within the Windows Programming forums, part of the Platform Specific Boards category; The Error: 95 C:\CODE\Windows\Simple.cpp cannot convert `WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)::WNDCLASSEX*' to `const WNDCLASSEXA*' for argument `1' to `ATOM RegisterClassExA(const WNDCLASSEXA*)' ...

  1. #1
    Call me AirBronto
    Join Date
    Sep 2004
    Location
    Indianapolis, Indiana
    Posts
    195

    Error I Dont Understand

    The Error:

    95 C:\CODE\Windows\Simple.cpp cannot convert `WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)::WNDCLASSEX*' to `const WNDCLASSEXA*' for argument `1' to `ATOM RegisterClassExA(const WNDCLASSEXA*)'

    It High Lights:

    RegisterClassEx(&winclass)


    plz tell me if i need to post any more code

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    It's always a good idea to post the code generating the error together with the error message itself.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I could not understand this question
    By enggabhinandan in forum C Programming
    Replies: 3
    Last Post: 10-22-2006, 05:17 AM
  2. Replies: 21
    Last Post: 10-14-2006, 04:38 AM
  3. Need software to help to understand C source code
    By Kincider in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2006, 09:44 PM
  4. Replies: 13
    Last Post: 08-24-2006, 12:22 AM
  5. Need help to understand x["AC"] in the following code
    By jcourcel in forum C Programming
    Replies: 11
    Last Post: 06-06-2006, 01:13 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21