CompuServe Thread

#Oracle & THINK 6

5 messages in this thread
#7172From: Ken LawsJul 19, 1993 6:54 PM
Hello! I'm pretty new to the THINK world. Up until now, I've been using MPW for all my programming. I've been working on a Mac application that uses Oracle version 6 (Oracle for the Mac 2.0). I'm supposed to convert it from MPW to THINK. When I try to run a simple example program with the THINK libraries Oracle supplied, I get a bus error. These libraries have a creation date of 1991. Can anyone tell me… * Is there something obvious I'm forgetting? (i.e., some preference setting?) * Should I even attempt to use 1991 libraries with THINK 6? * Are there newer Oracle library files somewhere? Thanks, -Ken.
#7266From: Robert DarkoJul 20, 1993 11:22 PM
I can't remember very well, but you might want to contact Oracle and discuss this with them. However, if memory serves me well, we had a version of the C code/libraries that were orignally set up for Oracle 5.x then they released 6.x. Well, they changed the internal structures for the OCI stuff and guess what, they are not backwards compatible. So to make a long story longer, you might want to talk to Oracle and make sure you have all the correct versions of the C software. (They may not know themselves, in the past I have found myself telling them about their Mac software. But judging from the quality of their software lately, I think they found themselves some experienced Mac programmers). Good Luck!
#7273From: Burt JohnsonJul 21, 1993 1:33 AM
>> Are there newer Oracle library files somewhere? Yes, available from Oracle. Mine have a modify date of 4/8/92. Do you have the documentation that came with the libs? The documentation pretty much describes how to go about doing it. I have a reasonably large application that is currently being used in HP, Tandem, DEC and GartnerGroup that I wrote in ThC 6 using the Oracle libs. FWIW, Oracle is very non-trivial to use, and has a lot of quirks. Before you can use it, you will need to do a full install of Oracle on your system (follow the docs). – Burt
#7330From: Ken LawsJul 21, 1993 6:07 PM
Burt… Yes, I have the docs and have installed Oracle. In fact, I have both HyperCard and MacApp-written apps using Oracle, but they were written with MPW. What I was hoping to find was some compiler option in Think that needed to be set a certain way, etc. I probably need to call Oracle. Thanks, -Ken.
#7340From: Burt JohnsonJul 21, 1993 9:23 PM
I'm emailing you a project file from a project that works with Oracle. No sources, but you can look at the options I used to see what worked for me. – Burt