Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

Where is the OCI and ODBC support?

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> Where is the OCI and ODBC support? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Where is the OCI and ODBC support? - Feb. 16, '06, 11:59:17 AM   
rjnorman

 

Posts: 12
Joined: Jan. 27, '06,
Status: offline
I have installed, Windows 2003 R2 plus SUA, but I can not find anything in SUA related to OCI or ODBC?
How do I go about compiling a C program that is using Oracle Call Interface on SUA?
Do I need to install Oracle on this?

Failing that, how do I go about compiling a program on SUA that uses ODBC to interface with SQL server?
Do I need to install one of the freeware ODBC packages on SUA?

Based on the Microsoft 'Whats new in 2003 R2' I had the impression the SUA woudl already include the ODBC and/or OCI headers and libraries for Client applications. Was I wrong here?

If anyone can help direct me to the right solution that woudl be great.
Thanks

_____________________________

Ron Norman
Post #: 1
RE: Where is the OCI and ODBC support? - Feb. 16, '06, 1:41:05 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
The OCI connection is done to the Win32 API's (rather than Interix API's).
This happens by using the "mixed mode" compilation/linking method.
You do not need any of the stuff from /Tools.
You should find a README detailing how to created a mixed mode compile with the
downloaded Utilities and Libraries package from Microsoft.

(in reply to rjnorman)
Post #: 2
RE: Where is the OCI and ODBC support? - Feb. 16, '06, 2:23:16 PM   
rjnorman

 

Posts: 12
Joined: Jan. 27, '06,
Status: offline
Thanks for the information. I think I am getting closer to the answers I need.
I searched for all README files and could not find anything about mixed mode compiles.
The help information for cc & c89 talks about -N nostdc and makes a reference to ODBC. This is only place it talks about this.

I was compiling my code with gcc, but it sounds like I will need to switch to cc as I have a lot of Unix/Linux style C code but in this environment I want to link this with some native Windows object code.

If you can point me to some example of compiling in mixed mode that would be great.
Thanks

(in reply to rjnorman)
Post #: 3
RE: Where is the OCI and ODBC support? - Feb. 16, '06, 7:16:03 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
For mixed mode you should use cc/c89, but I believe that it can be done with gcc too.
There's a special flag to use.
I know the README is around somewhere... I'll have to take a look for it.

(in reply to rjnorman)
Post #: 4
RE: Where is the OCI and ODBC support? - Feb. 16, '06, 7:35:17 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Ah, there it is.
It's called "Help_and_Releasenotes.doc" in the "Doc" sub-directory for wherever
you extracted the Utility and Libarary download for SUA/5.2 from the zip file.

(in reply to Rodney)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> Where is the OCI and ODBC support? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031