home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************
- ** KAPPA.c
- *****************************************************************/
-
- /******************************************************/
- /* Copyright (c) MegaKnowledge 1988 */
- /* VersionInfo: "%w %v %f" */
- /* "RBP' 11 6-Mar-89,19:58:12" */
- /* */
- /******************************************************/
-
- /* KAPPA.c - Resident startup portion of Kappa */
-
-
- /****************************************************************
- ** First include the files with the structures and definitions,
- ** as well as the global variable declarations.
- *****************************************************************/
- #include "kappa.h"
-
- /* Function declarations */
- short SquareHandler (ARGLIST);
-
- /****************************************************************
- ** Main procedure, called by microsoft windows when
- ** KAPPA.EXE is activated.
- *****************************************************************/
- int FAR PASCAL WinMain( hInstance, hPrevInstance, lpszCmdLine, cmdShow)
- HANDLE hInstance, hPrevInstance;
- LPSTR lpszCmdLine;
- int cmdShow;
- {
- if ( KappaInit( KERNEL, hInstance, hPrevInstance, lpszCmdLine, cmdShow )
- == FALSE )
- return FALSE;
- if ( KappaInit( DEVELOP, hInstance, hPrevInstance, lpszCmdLine, cmdShow )
- == FALSE )
- return FALSE;
-
- /************************************************************/
- /* FOR THE USER: */
- /* - Please insert all your initialization code after this */
- /* comment and before the 'return' statement. */
- /* - At this point, all KAPPA specific information has */
- /* already been initialized. */
- /* - Please repeat appropriate initialization code in the */
- /* 'InitNewApplication'. This routine is called upon */
- /* selection of 'New' from the File menu of KAPPA. */
- /************************************************************/
- /* Begin */
- Register_Function ( "Square", SquareHandler, EVAL_ARGS, CAT_MATH );
-
- /* End */
- return KappaLoad( DEVELOP, lpszCmdLine );
- }
-
-
-
- /****************************************************************
- ** Initialzation procedure, called by KAPPA when the New menu item
- ** is selected.
- *****************************************************************/
- void InitNewApplication (void)
- {
- /* Begin */
- Register_Function ( "Square", SquareHandler, EVAL_ARGS, CAT_MATH );
-
- /* End */
- }
-
- /****************************************************************
- ** Initialzation procedure, called by KAPPA when the OPEN menu item
- ** is selected.
- *****************************************************************/
- void InitOpenApplication (void)
- {
- /* Begin */
-
- /* End */
- }
- /****************************************************************
- ** END OF MAIN FILE
- *****************************************************************/
-