short CDVRCtrl::GetVideoEffect(short iValue)
{
// TODO: Add your dispatch handler code here
iValue=3;
return 0;
}
vb调用
dim tmp as integer
debug.print DVR1.GetVideoEffect(tmp)
结果tmp返回0而不是3
如何才能正确返回3呢
...全文
14111打赏收藏
VB调用VC写的ocx时,怎样才能传递一个int类型指针,令变量的值在ocx函数中改变
short CDVRCtrl::GetVideoEffect(short iValue) { // TODO: Add your dispatch handler code here iValue=3; return 0; } vb调用 dim tmp as integer debug.print DVR1.GetVideoEffect(tmp) 结果tmp返回0而不是3 如何才能正确返回3呢