cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error calling external object function intialize

Former Member
0 Likes
4,416

Hi all,

In our application we are using CaseDocs.DocCasesCtl control.

We are recieving "Error calling external object function intialize" when the below line of code is being executed.

ole_1.object.Initialize(is_case , gl_obsessionhandle)

FYI. The same code is working in XP machine but not in Windows 7.

We tried re-registering CaseDocs.ocx but had no luck.

Please advice on this.

Thanks in advance,

Lavanya.


View Entire Topic
Former Member
0 Likes

Hello Lavanya,

I liked to know have you solved this problem ? we have the same problem calling a fingerprint OCX function

We have registered the ocx and copy it to syswow64 (w7 - 64bit)

We have checked using ole browser and found all the functions listed in the OCX

But why the PB 12 can't find the function, the error code is 39 - error accessing external object property

Is it the same old issue ?

Thanks for any help.

Regards,

RW

Former Member
0 Likes

If your pb application is 32bit you have to use a 32bit version of the ocx.

Former Member
0 Likes

I used the 32 bit ocx , and it register successfull

Is this PB bugs ? cannot call the OCX  external functions ?