Kbase 17168: How to build ESQL/C Windows Demo wcesqldmo in 8.2A and later
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
How to build ESQL/C Windows Demo wcesqldmo in 8.2A and later
INTRODUCTION
============
This knowledgebase entry documents the steps needed to build
the ESQL/C Windows Demo program, wcesqldmo. The steps are
for Progress Version 8.2A and later.
PROCEDURAL APPROACH
===================
1) Set the following Progress environment variables:
set DLC=<the directory that Progress is installed>
for example: DLC=C:\DLC
set PATH=%DLC%;%DLC%\bin;%DLC%\probuild\eucapp;%PATH%
set PROOIDRV=%DLC%\bin\oidrvr32.exe (small client only)
set PROPATH=%DLC%\probuild\eucapp;%DLC%\probuild\eucapp\euc.pl
2) Set the following MSDEV environment variables (MSDEV 4.2 is
the currently supported version of the Microsoft C compiler for
32-bit Windows):
set MSDevDir=<directory containing the C compiler>
for example: MSDevDir=C:\msdev
set INCLUDE=%MSDevDir%\include;%MSDevDir%\mfc\include;%INCLUDE%
set LIB=%MSDevDir%\lib;%MSDevDir%\mfc\include;%LIB%
set PATH=%MSDevDir%\bin;%PATH%
3) Create a copy of sports database in your working directory
(from DOS command):
prodb sports sports
4) Copy all the files from $DLC/probuild/esqlc to your working
directory (from DOS):
copy %DLC%\probuild\esqlc\* .
5) Preprocess the wesqldmo.cc with the following command (from DOS):
sqlcpp wesqldmo.cc
6) Compile the resulting wesqldmo.c with the following command
(from DOS):
cl -c wesqldmo.c -MT
7) Run probuild utility (from the icon) to create a link script.
8) Choose ESQL/C LARGE CLIENT (FULL) from the product list in
probuild.
9) Choose Winsock TCP/IP as a configurable element in probuild.
10) Enter wesqldmo.obj and wcesql.res as object files in probuild.
11) Run the load script with the following:
link @wcesql.lnk
12) Run the executable.
esqltllg.exe
13) A dialog box will appear that says "Enter PROGRESS database
login parameters". Enter the following:
-db sports -1 trig %DLC%\sports.pl
A window will appears that lists the tables and fields in the
sports database.
Progress Software Technical Support Note # 17168