Skip to end of metadata
Go to start of metadata

Directory to develop an application with embedded-SQL

When you install ALTIBASE HDB, a directory structure for developer is created on your system for ALTIBASE HDB.

Directory Name

Contents

bin

Apre (executable binary) converts source-code of embedded-SQL application to C/C++ source style.

install

Sample about GNU Makefile prefix-rule

include

Header files (User don't need to care about header-file using embedded-SQL.)

lib

Library files for APRE*C/C++ and SQLCLI

sample/APRE

Sample programs for APRE*C/C++

APRE Binary
It is located in $ALTIBASE_HOME/bin directory.

Use it as follows.

Shell> apre -mt -t cpp sample1.sc

  • Library files
    APRE needs two library files.
  • One is libapre.a and the other is libodbccli.a.
  • It is located in $ALTIBASE_HOME/lib directory.
    If you need shared-library, you can use libapre_sl.so and libodbccli_sl.so.
  • Header files
    Header files are automatically written into source files by apre.
  • Apre needs a header-file, named "ulpLibInterface.h".

User checks files as follows to develop application using Embedded-SQL.

  • No labels