help linking C & Clipper

help linking C & Clipper

Post by watt wing sa » Sun, 07 Nov 1993 15:23:34



Hello,

I'm currently writing a C program which passes data(array) to a Clipper
subroutine for processing, after the result is passed back to the
C's main().

As I'm a new to Clipper ( My book didn't help, it's just the type
of book like Clipper's ABC :~ ), I wonder if the experts out there
could ans the following:

1) how could I forward data ( pass by value & pass by reference )
   to the Clipper function for processing & how do I get the processed
   data back ?

   could someone pls kindly illustrate with example(s) ( one C program
   passing C datatypes like: int, long int, pointer, array etc. TO      
   another Clipper function which transforms the C prototype into
   Clipper's internal stack like logical, numeric etc. After processing
   the Clipper function should return changes to the C's main )?

2) how could I do the another way round ( passing stuff from Clipper
   to C & get them back )?

3) any book to recommend ( My book just tell me to use extend.h, _par*(),
   _stori() etc. but I NEED EXAMPLES to facilitate understanding, not
   just trial & error. Please help  ! :~      )

Your advice/help is very much appreciated. Please email ( fast! )

Thanks in advance.
Yours,
Vincent.

 
 
 

1. help linking C & Clipper

Hello,

I'm currently writing a C program which passes data(array) to a Clipper
subroutine for processing, after the result is passed back to the
C's main().

As I'm a new to Clipper ( My book didn't help, it's just the type
of book like Clipper's ABC :~ ), I wonder if the experts out there
could ans the following:

1) how could I forward data ( pass by value & pass by reference )
   to the Clipper function for processing & how do I get the processed
   data back ?

   could someone pls kindly illustrate with example(s) ( one C program
   passing C datatypes like: int, long int, pointer, array etc. TO      
   another Clipper function which transforms the C prototype into
   Clipper's internal stack like logical, numeric etc. After processing
   the Clipper function should return changes to the C's main )?

2) how could I do the another way round ( passing stuff from Clipper
   to C & get them back )?

3) any book to recommend ( My book just tell me to use extend.h, _par*(),
   _stori() etc. but I NEED EXAMPLES to facilitate understanding, not
   just trial & error. Please help  ! :~      )

Your advice/help is very much appreciated. Please email ( fast! )

Thanks in advance.
Yours,
Vincent.

2. Moving from MSDE to SQL 2000?

3. HELP!!! PLEASE!!! Userdoc dillema

4. Linking Clipper & C

5. Importing a Cobol Database into a MS SQL 6.5 Server database

6. Sending HTML forms

7. !Help needed linking to Clipper-indexed DBase tables

8. Delphi 2.0 CS Update & BLOB Problem

9. Delphi CS, Oracle7.2 & SQLNetV2.2

10. Sales/C.S./Telemktg Automation Analysis Report & Survey

11. Help needed: Clipper-NTX & Delphi