|
-
May 14th, 2009, 05:59 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|