Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with OO4O and using with Oracle 10g Instant Client

Status
Not open for further replies.

SJSFoxPro

Technical User
Jun 19, 2003
110
US
Please redirect me if this sounds more like a question for OS forum...

We have an OLD application using some libraries that need to be registered on the client - the following 3 libraries oip9.dll, oip9.tlb, and oraansi.dll are what we used with the 9i client.

We have recently upgraded to Oracle 10g and would like to find a way to use the Oracle 10g Instant Client with the 10 version of these libraries.

I have placed the Instant Client at c:\oracle102 and have ensured that the path is in my environment variables. The application works fine until I make a call to the libraries.

I tried to register oip10.dll from the command prompt as follows: c:\oracle102> regsvr32.exe oip10.dll
This fails with error LoadLibrary("oip10.dll") failed - The specified module could not be found.

I have used 2 scripts to register the .dll's:
oo4oparm.reg:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OO4O]
"CacheBlocks"="20"
"FetchLimit"="20"
"FetchSize"="4096"
"HelpFile"="C:\\ORACLE102\\MSHELP\\oracleo.hlp"
"PerBlock"="16"
"SliceSize"="256"
"TempFileDirectory"="c:\\temp"

oraipsrv.reg:
REGEDIT
; Registration information for Oracle InProc Server

; Version independent registration
HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession = OraDatabaseInProc
HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession\Clsid = {3893B4A0-FFD8-101A-ADF2-04021C007002}

; Class ID registration
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002} = OraInProcTestDatabase 2.1
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\ProgID = OracleInProcServer.XOraSession.2
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\VersionIndependentProgID = OracleInProcServer.XOraSession

HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\InProcServer32 = C:\oracle102\oip10.dll
;HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\InProcServer32\ThreadingModel = Both

;HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\InProcServer32 = oip10.dll
;HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\InProcServer32 = "ThreadingModel"="Both"

HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.3 = OracleInProcServer 2.3 Type Library
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.3\HELPDIR = ;US english
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.3\409\win32 = C:\oracle102\oip10.tlb
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.3\0\win32 = C:\oracle102\oip10.tlb

Still can't get the application to recognize these libraries.

Does anyone have experience using OO4O with Instant Client? Anyone know what I'm missing to register the dll's or how to get them working with Instant Client?

Any help or direction is greatly appreciated!

Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top