Gentee Programming Language > Documentation > Launch | Download documentation |
This structure’s pointer is transferred at initialization gentee.dll.
type sgeinit { uint size uint flags messagefunc message printfunc print exportfunc export pstempdata temp }
If the field equals “0,” the a default output mode is used. The parameter contains the name of the function, and you should return a pointer for that function. In a Gentee program, you should describe these functions with the help of the import command. At that, use empty string as a dll file. size Sgeinit structure size. flags Additional flags. GEF_NOSYSOUT Don’t show service messages. GEF_CONSOLE connection of dll is performed from a console application. GEF_VM All tasks perform on one virtual machine. If this flag isn’t selected, each call ge_load will create its own virtual machine. message A function of messagefunc type for handling of compiler’s messages and program run module. If “0,” then the default function is used. print A function for outputting messages’ texts. You can view all compiler messages or program’s functioning results in any preferable mode. void (CALLBACK* printfunc)( char* )
export A function for exporting functions from your program. Specify this field, if you want to call functions of your application from Gentee programs. pvoid (CALLBACK* exportfunc)( char* ))
import ""
{
...
}
temp The pointer to the temporary directory information. It can be 0. See also stempdata
Gentee API functions ge_init messagefunc
![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |