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

Threaded View

  1. #4
    Join Date
    Nov 2001
    Posts
    244

    Re: Resolving Compiler warnings C4311 and C4312

    I would like it to be 64bit compatible so I'll fix it now.

    I am new to casting, how do you properly implement reinterpret_cast?

    Should I remove the switch command and use if() instead for the BTNST_AUTO_xxxx checks?
    And create an int version of hIconIn?


    Would this work:

    int hIconInt = reinterpret_cast<int>(hIconIn);
    Last edited by Anarchi; May 14th, 2009 at 06:05 PM.

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