Fastgraph/Fonts Compilation and Linking

Fastgraph/Fonts programs use the same compilation and linking techniques described in Chapter 2 of the Fastgraph 6.0 User's Guide. The only difference is that you must specify the appropriate Fastgraph/Fonts library, unit, or module name in addition to those required by Fastgraph. The rest of this section describes how to do this for each supported programming language.

For C and C++ programs, use the following table to determine the appropriate Fastgraph/Fonts library that corresponds to each Fastgraph library. Then specify both library names in your project file or on the compile/link command line. Note that Fastgraph/Fonts does not include special DirectX libraries because the same Fastgraph/Fonts libraries work with Fastgraph's native and DirectX libraries.

If linking with this Fastgraph library:

Add this library:

FGWBC32.LIB or FGWBC32D.LIB

FGFWBC32.LIB

FGWSC32.LIB or FGWSC32D.LIB

FGFWSC32.LIB

FGWVC32.LIB or FGWVC32D.LIB

FGFWVC32.LIB

FGWWC32.LIB or FGWWC32D.LIB

FGFWWC32.LIB

For example, if you're using Fastgraph/Fonts with C++Builder, you would link with FGWBC32.LIB plus FGFWBC32.LIB.

For Delphi programs, add the unit file FGFWin to your program's uses statement (FGFWinD if creating a DirectX program). The uses statement must include both the Fastgraph and Fastgraph/Fonts unit names.

For Visual Basic programs, add the module file FGFWin.bas to your project (FGFWinD.bas if creating a DirectX program). The project must include both the Fastgraph and Fastgraph/Fonts modules. You may not distribute the Fastgraph/Fonts Visual Basic module (.bas) files.

For PowerBASIC programs, add an #INCLUDE metastatement specifying the FGFWin.inc include file (FGFWinD.inc if creating a DirectX program). You may not distribute the Fastgraph/Fonts PowerBASIC include (.inc) files.

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.