703
社区成员




//下面是接口函数
STDMETHODIMP TPLCdebugFormImpl::GetMachinePos(long Height, BSTR* RecvVal)
{
try
{
WideString str = L"abcd";
*RecvVal = str;
}
catch(Exception &e)
{
//不写了,系统自动生成的
}
return S_OK;
}
//控件导入到VC里,接口如下:
CString GetMachinePos(long Height);