| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 593 人关注过本帖
标题:问题?
只看楼主 加入收藏
只搞VC别无所求
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2006-2-27
收藏
 问题点数:0 回复次数:2 
问题?
请问朋友InvokeHelper()函数的是怎么用法的?里面的参数都代表怎么意思来得?
比如:
InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL)
帮帮忙,可以吗?
搜索更多相关主题的帖子: InvokeHelper NULL METHOD DISPATCH DISPID 
2006-03-04 07:22
zinking
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:35
帖 子:916
专家分:0
注 册:2004-12-5
收藏
得分:0 

COleDispatchDriver::InvokeHelper

void InvokeHelper( DISPID dwDispID, WORD wFlags, VARTYPE vtRet, void* pvRet, const BYTE FAR* pbParamInfo, ... );
throw( COleException );
throw( COleDispatchException );

Parameters

dwDispID

Identifies the method or property to be invoked. This value is usually supplied by ClassWizard.

wFlags

Flags describing the context of the call to IDispatch::Invoke. For possible values, see the Platform SDK.

vtRet

Specifies the type of the return value. For possible values, see the Remarks section.

pvRet

Address of the variable that will receive the property value or return value. It must match the type specified by vtRet.

pbParamInfo

Pointer to a null-terminated string of bytes specifying the types of the parameters following pbParamInfo.

...

Variable list of parameters, of types specified in pbParamInfo.

Remarks

Calls the object method or property specified by dwDispID, in the context specified by wFlags. The pbParamInfo parameter specifies the types of the parameters passed to the method or property. The variable list of arguments is represented by ... in the syntax declaration.

msdn中关于mfc封装的函数的说明
要学会用msdn


http://kongfuziandlife. http://codeanddesign.
2006-03-04 11:25
只搞VC别无所求
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2006-2-27
收藏
得分:0 
什么意思呀?
搞不懂上面说的是什么意思?
我是用ado搞VC前台和sql2000连接时,一些如添加datalist控键时里面自带的函数题,里面的一些参数不知道到底是这样设的,是一些什么意思?
2006-03-04 20:55
快速回复:问题?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014331 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved