delphi 做一个OCX无窗体的(ActiveX Library)(100)

dqqqqqq

New Member
Member
#1
用delphi 做一个无窗体的OCX,用的是:ActiveX Library -> Automation Object Automation Object 中 Return Type 必须要用 HRESULT ?还有就是参数输出要选什么类型?
 

fengfan

New Member
Member
#3
返回参数是在参数列表中设置的.比如要返回string 应设置参数类型为 bstr* .modifer设置为out retval
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)