I have solved this problem. Just because I reinstalled my computer. I don't know why.
But there is another question. On machine A's MTS explorer,I can export an application proxy and register it on machine B. When the components on B connect the components on A, the returned information is...
Hi!zallen,
I have solved this problem. Just because I reinstalled my computer. I don't know why.
But there is another question. On machine A's MTS explorer,I can export an application proxy and register it on machine B. When the components on B connect the components on A, the returned...
Hi!zallen,
I have the same problem with you. It has puzzled me for three weeks. If you can solved this problem,please send me a message. Thanks.
zyhu@ms.mmit.stc.sh.cn
Maybe the two computers doesn't exist in the same domain. It also failed when I used one computer in win2000 server and another computer in winNT or win98. It can succeed when both computers in win2000 server.
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...
I've looked up the msdn and tested the function: _bstr_t( BSTR bstr, bool fCopy ) throw ( _com_error ). I've also looked the comutil.h to see how the class _bstr_t is defined. But I still failed to convert the BSTR to _bstr_t.
Every time when I convert the BSTR to _bstr_t, the m_str of the...
If use ADO to access database,the MDAC must be installed in the WinNT.
The following is used to initial ADO in the ATL COM:
_ConnectionPtr pObjADO_Connection = NULL;
hr = pObjADO_Connection.CreateInstance(__uuidof(Connection));
hr = pObjADO_Connection->Open( _bstr_t (L
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
Recently I found the following returned with the smart pointer successfully in Win98 but failed in WinNT4.0.
ADODB::_ConnectionPtr pConn;
pConn.CreateInstance(__uuidof(ADODB::Connection));
I don't know why it is.
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.