Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ap/apinitialize.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ap/apinitialize.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ap/apinitialize.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ap/apinitialize.html on line 8
Initialize an application given a set of options
#include <Ap.h>
int ApInitialize( int argc,
char *argv[],
ApContext_t *context );
- argc
- The number of entries in the argv array.
- argv[]
- An array of pointers to strings that contain the arguments to the program.
- context
- A pointer to a context structure.
Ap
This function is used to initialize an application. Usually argc and argv are
passed directly from the main as they come. The list
of actually recognized options is specified in the PhAB under
.
0 on success.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
ApCreateModule(),
ApCreateWidget()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ap/apinitialize.html on line 124
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ap/apinitialize.html on line 124