关于Flag的定义

最近在维护项目的代码,发现了由于Flag不一致导致的很多问题,现在对这一问题总结。 flag分为两种,可以组合的和不可以组合的。可以组合的fl

代码调试小结(一)

1. 书写调试代码很重要。 对于复杂的数据结构,我们往往很难在短时间看到是哪个函数修改了它,所以我们要增加调试函数。在Debug的过程中输出相关的

Word Add-in 函数调用顺序

这个图表明的函数的调用顺序,主要代码如下: 1 // MyAddin.cpp : Implementation of DLL Exports. 2 3 4 // Note: Proxy/Stub Information 5 // To merge the proxy/stub code into the object DLL, add the file 6 // dlldatax.c to the project. Make sure precompiled headers 7 // are turned off for this file, and add