Hi,
I am trying access OCX file using oleobject in powerbuilder.When calling functions of ole throws below error.
sample code:
oleobject ole_card
ole_card= create oleobject
ll_ret = ole_card.ConnectTonewobject("EIDA_ZP_ACTIVEX.UAEIDCardActiveXCtrl.1")
IF ll_ret = 0 THEN
ls_ret = ole_card.Initialize() //fails when it calls this function
END IF
Note : I have registered OCX file.
Any help would be appreciated!
Thanks,
Anil