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

Error calling external object function intialize

Former Member
0 Likes
4,413

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

Hi Lavanya;

1) Are you sure that the control your using is W7 certified?

2) I would suggest wrapping the OLE script in a TRY..CATCH. Quite often, more information is provided on the error in the Exception object.

Are you using the W7 32bit or 64bit O/S?

Regards ... Chris

Former Member
0 Likes

Hi Chris,

Yes, we are using Windows7 32bit O/S.

Can you please let me know how to identify whether the control is Windows7 certified and also how to get this OCX work in Windows7.

Note: We are able to replicate this issue in XP machine by unregistering the same OCX.

So we are assuming that the issue in Windows7 is due to this OCX .

Thanks,

Lavanya

Former Member
0 Likes

Hi Lavanya;

  I would suggest contacting the OCX vendor and checking with them on the control's W7 compliance aspect.

Regards ... Chris

Former Member
0 Likes


Hi Chris,

The OCX that we are using is our own application and this ocx is being called from PowerBuilder.

Also the same OCX is working fine when called from the VB application.

Can you please help us to resolve this.

Thanks in Advance,

Lavanya.