浪
浪边人
Unregistered / Unconfirmed
GUEST, unregistred user!
//DCOM连接正确
Ihxsw_newDisp srvr;
Variant Ret;
srvr.Bind(DCOMCon1->GetServer());
bool bb=srvr.IsBound();
//在DCOM中返回true.
srvr.Login(WideString(Username),WideString(Password),Ret);
//Socket连接出错
Ihxsw_newDisp srvr;
Variant Ret;
srvr.Bind(SocketCon1->GetServer());
bool bb=srvr.IsBound();
//在Socket中返回false.为何不能绑定到服务器呢?
srvr.Login(WideString(Username),WideString(Password),Ret);
//程序出错!提示IsBound()错误.
Ihxsw_newDisp srvr;
Variant Ret;
srvr.Bind(DCOMCon1->GetServer());
bool bb=srvr.IsBound();
//在DCOM中返回true.
srvr.Login(WideString(Username),WideString(Password),Ret);
//Socket连接出错
Ihxsw_newDisp srvr;
Variant Ret;
srvr.Bind(SocketCon1->GetServer());
bool bb=srvr.IsBound();
//在Socket中返回false.为何不能绑定到服务器呢?
srvr.Login(WideString(Username),WideString(Password),Ret);
//程序出错!提示IsBound()错误.