MSDN关于ShellExecute()的解释有这么一条:
“The only thing that can be done with the returned HINSTANCE is to cast it to an int and compare it with the value 32 or one of the error codes below.”
不过可惜上面没说怎么将HINSTANCE转化为int类型,找资料也遍寻不着,所以想问问高手们。顺便也问问,C++里面的类型转换有什么限制?