API для коннекта к Progress из С/С++

Все, что связано с продуктами корпорации Progress Software: доска объявлений, анонсы, разное
alex
Старожил
Сообщения: 38
Зарегистрирован: 13 июл 2001, 03:00

API для коннекта к Progress из С/С++

Сообщение alex » 07 июл 2002, 08:01

А Subj хотя бы существует?

van
Модератор
Сообщения: 407
Зарегистрирован: 12 июл 2001, 03:00

re:API для коннекта к Progress из С/С++

Сообщение van » 07 июл 2002, 20:52

нет. только через odbc.
встречный вопрос: а зачем? "шобы было"?
впрочем, смотря для чего... вот кусочек вступления к "Progress Embedded SQL-92 Guide and Reference":

SQL is a non-procedural language that uses statements to define, manipulate, and control data in a relational database. The Progress SQL-92 application development environment allows development of applications using the Embedded SQL tool. ESQL allows you to embed SQL-92 statements in the widely used C programming language. In this context, the C Language is referred to as the host language. Embedding SQL statements in a host language allows for development of applications that are more powerful and flexible than applications developed in either the host language or SQL alone. The Progress embedded SQL-92 interface in C is referred to as ESQLC.
C Language compilers do not recognize SQL statements and ESQL application programs containing SQL statements. It is necessary to translate these statements to the equivalent C Language code to build the program executable. The ESQL precompiler performs this translation.
To facilitate recognition of the statements the ESQL precompiler is to process, you begin the statements with the prefix EXEC SQL. These prefixed statements are referred to as ESQL constructs. The ESQL constructs are outlined in following sections.
NOTE: See Chapter 3, "ESQL-92 Program Structure," for a complete description of each ESQL construct.

The ESQL precompiler interprets ESQL source files and generates C Language source files. Subsequently a C compiler compiles and links the source files into an executable file. The compile and link steps are automatic, unless you enter options to override these steps when you invoke the ESQLC command. For ease of use, the ESQL precompiler also accepts C source files and object files, passing them to the compiler and linker. You must ensure that the location of the ESQL precompiler is in your path before you invoke the precompiler from the command prompt. The location of the ESQL precompiler is the $DLC/bin install directory. The ESQLC precompiler also provides a mechanism for passing compiler options to the C Language compiler.

alex
Старожил
Сообщения: 38
Зарегистрирован: 13 июл 2001, 03:00

re:API для коннекта к Progress из С/С++

Сообщение alex » 09 июл 2002, 08:11


van
Модератор
Сообщения: 407
Зарегистрирован: 12 июл 2001, 03:00

re:API для коннекта к Progress из С/С++

Сообщение van » 09 июл 2002, 16:39


alex
Старожил
Сообщения: 38
Зарегистрирован: 13 июл 2001, 03:00

re:API для коннекта к Progress из С/С++

Сообщение alex » 10 июл 2002, 06:47


van
Модератор
Сообщения: 407
Зарегистрирован: 12 июл 2001, 03:00

re:API для коннекта к Progress из С/С++

Сообщение van » 10 июл 2002, 07:47


SKR
Старожил
Сообщения: 23
Зарегистрирован: 08 июл 2002, 16:50
Откуда: Москва

re:API для коннекта к Progress из С/С++

Сообщение SKR » 13 авг 2002, 10:54

Доброго времени....
1. Разве нельзя работать с прогресс напрямую через открытие прота ну и тд ...
2. А для чего все это? Причем тут с++?

alex
Старожил
Сообщения: 38
Зарегистрирован: 13 июл 2001, 03:00

re:API для коннекта к Progress из С/С++

Сообщение alex » 19 авг 2002, 15:15


SKR
Старожил
Сообщения: 23
Зарегистрирован: 08 июл 2002, 16:50
Откуда: Москва

re:API для коннекта к Progress из С/С++

Сообщение SKR » 19 авг 2002, 15:47


Garik
Новичок
Сообщения: 13
Зарегистрирован: 29 авг 2002, 08:02
Откуда: Саратов

re:API для коннекта к Progress из С/С++

Сообщение Garik » 29 авг 2002, 08:15