_ConnectionPtr ,到底是什么东西?
程序用了一个动态库,出现了下面的错误:
error LNK2001: unresolved external symbol "int __stdcall Login(class _com_ptr_t<class _com_IIID<struct _Connection,&struct __s_GUID _GUID_00000550_0000_0010_8000_00aa006d2ea4> > &)" (?PACSLogin@@YGHAAV?$_com_ptr_t@V?$_com_IIID@U_Conne
ction@@$1?_GUID_00000550_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@A@@@@@Z)
../Debug/Test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Login 是一个动态库的导出函数。很奇怪,别的导出函数都能用,唯独这个用不了。
函数声明 : BOOL __stdcall PACSLogin(_ConnectionPtr&) ;
这个 _ConnectionPtr , 到底是个什么东西?
另外我想用一个以连接的 _ConnectionPtr 做参数,应该怎么写?
谢谢。