Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Getting Error "Error accessing external object function(R0035)"

$
0
0

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


Viewing all articles
Browse latest Browse all 3363

Trending Articles