2013年2月20日

摘要: View Code #include <windows.h>#include <stdio.h>int main(){ CHAR szAtom[32] = "ApexDingdianweifeng"; ATOM a1 = FindAtom(szAtom); if(a1 == 0) { printf("now the local not add\n"); } else { printf("now the local added\n"); } ATOM aLable = AddAtom(szAtom); ... 阅读全文
posted @ 2013-02-20 18:27 All IN 阅读(129) 评论(0) 推荐(0)
摘要: View Code 1 #include <Windows.h> 2 3 #include <stdio.h> 4 5 template <typename ToType, typename FromType> 6 void GetMemberFuncAddr_VC6(ToType& addr,FromType f) 7 { 8 union 9 {10 FromType _f;11 ToType _t;12 }ut;13 ut._f = f;14 addr = ut._t;15 }16 17 class A18 ... 阅读全文
posted @ 2013-02-20 01:28 All IN 阅读(216) 评论(0) 推荐(0)

导航