-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Select a release and download the source code compressed file. Extract to a folder named gxc-9.3 on your system. This will contain the following sub-folders:
Folder | Content |
---|---|
examples | source code for all Geosoft GXs |
include | GXC header files that document the GX API |
The compiler and support tools are part of your Geosoft Desktop installation. You will need to add the Geosoft Desktop bin directory to your system path so the compiler programs can be found, and set the environment variable INCLUDE to your gxc-9.3\include folder. For example:
path="%path%;C:\Program Files\Geosoft\Desktop Applications 9\bin" set include=c:\gxc-9.3\include
A GX will have a .gxc source file and an optional .grc resorce file. There may also be .hlp files that are used by the resource file. Compiling is a 2-step process. For this example navigate to the gxc-9.3\examples\agggrid folder:
grc agggrid gxc agggrid
This will create the GX file: aggrid.gx.