K
kv2002
Unregistered / Unconfirmed
GUEST, unregistred user!
java Corba server 编译成功并运行。
delphi 客户端编译成功。
procedure TForm1.InitCorba;
var
ior :String;
_counterObject: CORBAObject;
begin
CorbaInitialize;
ior := '000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f'+
'6e746578744578743a312e30000000000001000000000000009a000102000000000e3139322e3136'+
'382e312e31303600041a00000045afabcb0000000020172f61c40000000100000000000000020000'+
'0008526f6f74504f41000000000d544e616d65536572766963650000000000000008000000010000'+
'00011400000000000002000000010000002000000000000100010000000205010001000100200001'+
'0109000000010001010000000026000000020002';
}
Corba.ORB.Init;
Corba.POA.Initialize;
_counterObject := ORB.StringToObject(ior);
h := THelloWorldHelper.Narrow(_counterObject,true);
end;
提示 INV_OBJREF 错误。
遇到没有监视程序的 IOR。请大侠给看看。
delphi 客户端编译成功。
procedure TForm1.InitCorba;
var
ior :String;
_counterObject: CORBAObject;
begin
CorbaInitialize;
ior := '000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f'+
'6e746578744578743a312e30000000000001000000000000009a000102000000000e3139322e3136'+
'382e312e31303600041a00000045afabcb0000000020172f61c40000000100000000000000020000'+
'0008526f6f74504f41000000000d544e616d65536572766963650000000000000008000000010000'+
'00011400000000000002000000010000002000000000000100010000000205010001000100200001'+
'0109000000010001010000000026000000020002';
}
Corba.ORB.Init;
Corba.POA.Initialize;
_counterObject := ORB.StringToObject(ior);
h := THelloWorldHelper.Narrow(_counterObject,true);
end;
提示 INV_OBJREF 错误。
遇到没有监视程序的 IOR。请大侠给看看。