I am using C to write a DLL that provides basic database connection functionality to a couple of different applications, using ODBC. When I use this DLL to connect to an Oracle database (Oracle 10g Express Edition, specifically) I get the following error message:
Specified driver could not be loaded due to system error 1114 (Oracle in XE).
After rebooting my computer, one of the applications that uses this DLL can connect to the database, but the other (more important one) still gets this message.
Does anyone know what may be causing this error and how I can fix it? I've never used Oracle before so I don't really know where to start to fix this problem. Thanks in advance for any ideas anyone out there can give.
EDIT: I checked the PATH environment variable. It begins with: C:\oraclexe\app\oracle\product\10.2.0\server\bin. That's the correct path to Oracle on my computer.