If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Not able to connect to Oracle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-04, 05:35
Vinayarammohan Vinayarammohan is offline
Registered User
 
Join Date: Feb 2004
Location: Hyderabad
Posts: 7
Exclamation Not able to connect to Oracle

Hi,

I am using VB 4 and Oracle 7.3.4 in my application (on Windows 2000 Advanced Server)

I am trying to conncet to database through OO4O(Oracle Objects For OLE).
While creating the connection using the below code, I am getting the error messase "General Protection Fault in the module - SQL16W95.dll" and is giving me only chance to exit the application.

Set g_os_dbsession = CreateObject("OracleInProcServer.XOraSession")
Set g_os_dbrsi = g_os_dbsession.OpenDatabase(sDbConnectOLE, g_s_connect, 0&)


Kindly help me out.

Regards
Vinaya

Last edited by Vinayarammohan; 02-13-04 at 05:50.
Reply With Quote
  #2 (permalink)  
Old 02-14-04, 09:25
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Not able to connect to Oracle

Quote:
Originally posted by Vinayarammohan
Hi,

I am using VB 4 and Oracle 7.3.4 in my application (on Windows 2000 Advanced Server)

I am trying to conncet to database through OO4O(Oracle Objects For OLE).
While creating the connection using the below code, I am getting the error messase "General Protection Fault in the module - SQL16W95.dll" and is giving me only chance to exit the application.

Set g_os_dbsession = CreateObject("OracleInProcServer.XOraSession")
Set g_os_dbrsi = g_os_dbsession.OpenDatabase(sDbConnectOLE, g_s_connect, 0&)


Kindly help me out.

Regards
Vinaya
1. This is MySQL section and not the Oracle section
2. Your question is little more about VB programing than MySQL
3. It seems to be a problem in windows or in your code
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On