Help Needed

From: Chamal B Perera <cbp0426>
Date: 1995/11/22
Message-ID: <1995Nov22.155912.4062_at_njitgw.njit.edu>#1/1


Can somebody help please!

I have oracle 7.1 running on my computer . I also have the pro *C compiler and the bolabnd C++ compilers installed in the system.

The oracle and the whole system runs fine. But I do have problems , which I have not been able to figure out with the Imbedding of the SQL in C and getting it to compile.

The steps that I carried out are.

  1. The Imbede sql program in C was pre compiled using the pro *C compiler for oracle. The only include files specified in the include path of the pro C compiler isthe orawin/pro15/c directory. This removed one of the errors of sqlca not declared in the compiling phase.
  2. Out out .C file was then compiled using the Boraland C++ compiler ( version 3.1 for windows 3.1 )

HERE I get lot of warning and error on the sql and oracle functions put in by the pre compiler.

I also get a _sqlcex not declared. Error.

I have attempted to include the oracle libraries ( under the dir. OCI ) in the C++ compiler , with no success, in getting read of errors.

I would really appreciate if sombody familier with this pro *C and Imbeded SQl in oracle running in windows, help me out. AS it would save my school project

please e_mail your suggestions ( preferablly ) to cbp1699_at_hertz.njit.edu or to the news_group.

Thanks. Received on Wed Nov 22 1995 - 00:00:00 CET

Original text of this message