PROBUILD and the Linker

For all ESQL executables other than Windows small clients, use the PROBUILD utility to construct a link script appropriate for your operating system and configuration requirements. As part of the script construction procedure, PROBUILD lets you select:

Just before generating the script, PROBUILD prompts for and includes the names of your ESQL object modules, and inserts them in order to properly link with the required Progress object modules for your selected executable.

PROBUILD constructs link scripts for many types of Progress executables other than ESQL clients. However, the general procedure is the same for all of them. You can also add application object file references directly in the link script using a text editor.

ESQL large clients can run as either Console or Windows applications. PROBUILD will automatically generate an ESQL large client link script for console applications by default on Win32. If your application uses Windows programming, you need to edit the generated link script manually. To do this, change the lines in wcesql.lnk as follows:

From:

/SUBSYSTEM:console, 4.0
/ENTRY:mainCRTStarup 

To:

/SUBSYSTEM:windows,4.0
/ENTRY:WinMainCRTStartup 

After you construct a link script, build your small or large client executable using your system linker. For information on using PROBUILD and your system linker to build your ESQL executable, see the Progress Client Deployment Guide.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095