In windows 2000 (Advanced Server Edition), I want to
use COM+ to export my *.dll to a package in the computer A. Then I want to install this package in another computer B and then use the packed *.dll to call other COM in the
computer A. But I failed when I exported *.dll in the computer A...
What's the relationship between the BSTR and the _bstr_t?
How can I convert the BSTR to the _bstr_t? Vice versa?
Thanks for your help.
zyhu@ms.mmit.stc.sh.cn
When I initialize ADO in the ATL COM with the following:
ADODB::_ConnectionPtr pConn;
pConn.CreateInstance(__uuidof(ADODB::Connection));
but the result is that the interface pointer pConn is NULL. Why?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.