![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
COM/ATL/WTL学习心得
文章平均质量分 54
dawang2006
这个作者很懒,什么都没留下…
展开
-
有关EXE加载和调用DLL函数的例子;用ATL函数修改注册表和内存存贮的一些认识(一)
/////////////////////////////////////////////RegEditExe.cpp (EXE工程的)#include "RegExcute.h"int _tmain(int argc, _TCHAR* argv[]){ int x; long i; printf( "Input your action:/n" ); printf( "1:Add/n" );原创 2005-08-08 15:08:00 · 1445 阅读 · 0 评论 -
CString学习心得(二)---------原创
在mfc下,调用CString时候要加入头文件: afx.h; afxstr.h;在atl下,调用CString时候要加入: atlstr.h; 下面是个简单的例子:///////////////////.cpp#include "stdafx.h" .......CString a; CString s[2]; int y[2] = { 10, 11 }; int i; for( i原创 2005-08-09 11:44:00 · 783 阅读 · 0 评论 -
COM组件开发的小心得
1.用MIDL语言在.idl中定义结构:typedef struct { unsigned short code1; unsigned short code2; unsigned short code3; unsigned short code4;}SIPAddress;[helpstring("method RegEdit")] HRESULT RegEdit([in] USHORT unSe原创 2005-08-26 10:47:00 · 1521 阅读 · 0 评论