|
4#
楼主 |
发表于 2008-12-29 08:54:16
|
只看该作者
回saharaqs:
谢谢你的回答,但是第一个问题中出错的地方是没有乱码的,出错行的内容为:
lrc_Release_Object((IUnknown*)error! not found pid: 3152 interface pointer address: 025A9A08);
上下文相关代码摘取了如下:
{
BSTR Name = lrc_BSTR("Reserved");
int Type = lrc_int("8");
int Direction = lrc_int("1");
long Size = lrc_long("0");
VARIANT Value = lrc_variant_BSTR("");
lrc_Command25_CreateParameter(Command25_9, Name, Type, Direction, Size, Value, (_Parameter**)&_Parameter_189, CHECK_HRES);
}
{
lrc_Command25_get_Parameters(Command25_9, (Parameters**)&Parameters_9, CHECK_HRES);
}
lrc_Release_Object((IUnknown*)Parameters_9);
lrc_Release_Object((IUnknown*)_Parameter_189);
{
IDispatch * Object = (IDispatch*)_Parameter_189;
lrc_Parameters_Append(Parameters_9, Object, CHECK_HRES);
}
lrc_Release_Object((IUnknown*)Command25_9);
lrc_Release_Object((IUnknown*)error! not found pid: 2360 interface pointer address: 0246A388);
{
VARIANT * Parameters = NULL;
long Options = lrc_long("1");
VARIANT * RecordsAffected = NULL;
lrc_Command25_Execute(Command25_9, RecordsAffected, Parameters, Options, (_Recordset**)&_Recordset_11, CHECK_HRES);
//RecordsAffected returned with value NULL
}
第二个问题:添加服务器的总是提示我连接失败,是不是服务器端也要安装LR呢? |
|