Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PB VS COM COMPONENTS

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I developed an aplication in Power Builder 8.0 with COM components on the server (remote components).

Problem: I can connect to the machine but I can´t access to the methods, in this case the method teste_msg.


Client machine:

An Active x window (type = child) with the code:


integer li_rc
oleobject nvuo_remote_obj

nvuo_remote_obj = CREATE oleobject



li_rc = nvuo_remote_obj.connecttonewremoteobject ("89.1.10.109", "clsid:D6AC526C-CBA4-453C-A849-4872660D646A")

if li_rc < 0 then
st_1.text = &quot;Fail&quot;
return
else
st_1.text = &quot;Right&quot;
end if

st_2.text = nvuo_remote_obj.teste_msg(&quot;primeira frase &quot;)


Server side:

I created a component in Power Builder who was trasfered to the server. In the server was created a proxy application to be
installed in the cliente machine.


On the cliente machine when i'm trying to access to the methods:


PowerBuilder Application Execution Error (R0032)

Error: Name not found calling exterbal object function teste_msg at line 18 in clicked event of object cb_1 of w_novo_ocx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top