Re: Can Borldand C4.0 be used for user exit on PC?

From: Michael P. Vergara <vergara_at_nosc.mil>
Date: Tue, 1 Nov 1994 15:52:17 GMT
Message-ID: <1994Nov1.155217.2507_at_nosc.mil>


In article <RSELIGMA.94Oct31224638_at_seinfeld.oracle.com>, Russ Seligman <rseligma_at_oracle.com> wrote:
>In article <1994Oct31.180925.25961_at_news.cs.indiana.edu> "Kee Yip" <kyip_at_cs.indiana.edu> writes:
>>
>> Does anyone know if it is possible? Thanks.
>
>The Borland C compiler cannot be used to create user exits for the CDE Tools.
>
>--Russ
>
[snip]

I have never tried to write a linked-in user exit, BUT I have written C programs, using Borland's C++ compiler, which are callable from within a Forms4 screen, and do stuff to the database.

We had an application with a requirement for loading externally-sourced data into the database. The client did not want to have SQL*Loader on every client machine. I wrote a routine, Windows-compatible, which is called via (I think) the HOST commend in Forms, which then establishes a second connection to the database, reads the flat file, INSERTs the rows into a temporary table, and exits. The Form then executes a procedure which imports the temporary table data into the database, and proceeds on it's merry way.

It's not really a 'User Exit' as defined by Oracle, but it's a Pro*C program written using Borland's compiler. It can be done that way.

HTH

--
============================================================================
Mike Vergara           |   Be good...and you will be lonesome
vergara_at_nosc.mil       |                                       Jimmy Buffett
Opinions expressed are not necessarily those of anyone else but me.  So there.
Received on Tue Nov 01 1994 - 16:52:17 CET

Original text of this message