逸逸记事
逸逸记事

我的分类(专题)

首页(175)
儿子(9)
SIP技术(9)
Web2.0(12)
摄影和DVD(8)
软件开发随笔(18)
名古屋打工生活(11)
微软技术开发(47)
Java技术(12)
加拿大移民生活(20)
生活点滴(6)
第一份工作--上海贝尔(18)
完成项目(13)
回国后的生活(0)


最新日志
独行者
终于知道什么叫外包了
人生悲哀之事
水晶报表中显示动态图片
水晶报表中的简单参数设置
怀念下小黑
dotnet中的数据连接Timeout
老板的思路
又买房了
交通事故

最新回复
回复:独行者
回复:怀念下小黑
回复:老板的思路
回复:mjSip学习笔记
回复:老板的思路
回复:dotnet中的数据连接Timeo
回复:mjSip学习笔记
回复:交通事故
回复:交通事故
回复:又买房了

留言板

签写新留言

您好,很希望问您一个关于jain-sip
生活经历就是最大的财富,羡哦~
java的Web开发问题
回复:疑问
IT还不如妓女呢,呵呵
myjavaserver的空间
求助
您的子域名已开通

统计
blog名称:人在旅途
日志总数:175
评论数量:505
留言数量:13
访问次数:1661233
建立时间:2005年12月7日

链接

 

生命是过客,人在旅途。奶奶是信基督教的,没啥文化,却养育了四子二女,还带过九个孙辈。老人家对生命的看法就是“人都是客人,迟早要回去的。”就以《人在旅途》来纪念她。

 

«July 2025»
12345
6789101112
13141516171819
20212223242526
2728293031

公告
  本人上传的源程序中可能引用或使用了第三方的库或程序,也可能是修改了第三方的例程甚至是源程序.所以本人上传的源程序禁止在以单纯学习为目的的任何以外场合使用,不然如果引起任何版权问题,本人不负任何责任.




     本站首页    管理页面    写新日志    退出
调整中...
[微软技术开发]Never try to return an SAFEARRAY with an event in activex object
人在旅途 发表于 2006/1/22 10:18:58

 Never try to return an SAFEARRAY with an event in activex object.

阅读全文(1698) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]How to get the point of the buffer in SAFEARRAY
人在旅途 发表于 2006/1/22 10:18:21

Use the SafeArrayAccessData(...) to get the point of the buffer in the SAFEARRAY.

阅读全文(1827) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]About BSTR in ATL
人在旅途 发表于 2006/1/22 10:17:38

when a property is defined as BSTR. and you will like to get it in VB, this time always your get_xxxx routime in VC will will received a NULL BSTR, you must allocate (by sysallocatestring or _bstr_t.Copy or CComStr.Copy) a new BSTR and assign value then you can return it. Now your VB programe can receive it right.
阅读全文(3048) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]How to get ACTIVEX CONTROL OR OBJECT'S PATH IN VC
人在旅途 发表于 2006/1/22 10:17:12

USE THIS FUNCTION ::GetModuleFileName() to get a dll's path and name.
阅读全文(1690) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]How to use BSTR&_bstr_t in VC
人在旅途 发表于 2006/1/22 10:16:15

bstr_t t;
 t = "test";
 WORD n = t.length(); // n is 4
 char* p = (char*)t; //but you can't change the buffer in p
 n = strlen(p); 删除

[微软技术开发]A new way to use ADO in VC++
人在旅途 发表于 2006/1/22 10:13:08

Techniques for Using ADO in C++ Applications There are a couple of ways to use ADO in your C++ code. You can use the ADO header files and import library from the OLE DB SDK. You include the ADO header files (adoid.h and adoint.h) in your source and add the ADO import library adoid.lib to your linker input. This enables you to create instances of the ADO objects and access their member functions. Using this metho
阅读全文(1997) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]About the storage file in VC
人在旅途 发表于 2006/1/22 10:10:57

You can get a sub-stream or a sub-storage from a root storage. But what is you must pay much attention is that if the root storage is released, the sub-stream or storage will be automatically released.
阅读全文(2188) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]Three way to import a COM
人在旅途 发表于 2006/1/22 10:09:47

1.Use ClassWizard(IDispatch);
2.Use "#import *.dll"(IUnknown);
3.Use "#include *.h"(generate by the server compiling), (IUnknown);

阅读全文(2297) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]How to implement early binding of activeX in VC
人在旅途 发表于 2006/1/22 10:07:31

1. #import "d:\work\zjjapp\ZJJDatabaseSvr\Debug\ZJJDatabaseSvr.tlb"
   using namespace ZJJDatabaseSvr;  // get from ZJJDatabaseSvr.tlh's "namespace                     
阅读全文(1684) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]Study the _bstr_t source code
人在旅途 发表于 2006/1/22 8:33:59

The _bstr_t is a class, but it encapulate a inner object named m_Data. the m_Data has an reference counter which will be increased and decreased when necessary. And only when the counter is zero the will the Data delete itself. Thus just like CString in MFC, the real data is stored in the inner data meber "m_Data". And the lifecycle of the "m_Data" has nothing to do with the lifecycle of it's father the _bstr_t object. So when a _bstr_t is assigned to the other _bstr_t, only the point of "m_Data
阅读全文(1937) | 回复(0) | 编辑 | 精华 | 删除


站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.063 second(s), page refreshed 144769416 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号