Where is the OCI and ODBC support? (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA



Message


rjnorman -> Where is the OCI and ODBC support? (Feb. 16, '06, 11:59:17 AM)

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




Rodney -> RE: Where is the OCI and ODBC support? (Feb. 16, '06, 1:41:05 PM)

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.




rjnorman -> RE: Where is the OCI and ODBC support? (Feb. 16, '06, 2:23:16 PM)

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




Rodney -> RE: Where is the OCI and ODBC support? (Feb. 16, '06, 7:16:03 PM)

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.




Rodney -> RE: Where is the OCI and ODBC support? (Feb. 16, '06, 7:35:17 PM)

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.




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.016