Why error?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Why error?

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Posts
    181

    Question Why error?

    [CODE]
    hOpenAndTransfer = CreateWindow(L"button", L"Открыть и передать",
    WS_CHILD | WS_VISIBLE,
    20, 20, 180, 25,
    hwnd, (HMENU) ID1, hInst, NULL);
    [\CODE]
    error C2143: syntax error : missing ')' before ';'

  2. #2
    Join Date
    Feb 2012
    Posts
    181

    Re: Why error?

    Such work
    [CODE]
    hOpenAndTransfer = CreateWindow(L"button", L"Открыть и передать",
    WS_CHILD | WS_VISIBLE,
    20, 20, 180, 25,
    hwnd, NULL, hInst, NULL);
    [\CODE]
    Why error?

  3. #3
    Join Date
    Feb 2012
    Posts
    181

    Re: Why error?

    I have changed define on int - now all work.

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