};</pre><BR>Using a union makes sense because it saves disk space. But why then does he enclose it inside a struct, when all that the struct contains is just a union? I never understood this, none of ...
在atl中使用struct以及union因为com的特殊性,所以有很多限制。以前在codeproject中看过一个如何使用自定义的数组,以及如何使用自定义的数据结构,基本上解决了接口函数中参数为自定义结构,自定义数组的问题。不过现在我要在自定义结构中使用union来包含多个 ...