#Oracle & THINK 6
5 messages in this thread
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.
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!
>> 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
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.
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