Search:

Type: Posts; User: megafiddle

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,416

    Referring to zordon's code, this seems to fix it:...

    Referring to zordon's code, this seems to fix it:


    LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
    change to

    LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM...
  2. Replies
    6
    Views
    1,416

    My suggestions above aren't all of the problem....

    My suggestions above aren't all of the problem. Still doesn't work after those corrections.



    Isn't that C++ syntax, for passing by reference (as opposed to passing by value or pointer)?
    It's...
  3. Replies
    6
    Views
    1,416

    LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM...

    LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
    should be

    LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
    Also, the function

    int...
Results 1 to 3 of 3