on ‎2014 Sep 16 8:32 AM
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.
Request clarification before answering.
How did you register your OCX? using regvr32 from c:\windows\system32 ?
Is your Windows 7 a 64-bit machine?
If yes, can you try to re-register your OCX control (32-bit?) using regsvr32 from correct folder:
1. Open a DOS command prompt (run as administrator)
2. Change directory to C:\Windows\SysWOW64
3. Unregister the control using the command "regsvr32 /U xxxx.ocx"
4. Re-Register using the command "regsvr32 xxxx.ocx"
Indeed, you have to use a 32-bit OCX with PowerBuilder
HTH,
Jacob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.