wb_main_loop

int wb_main_loop (void)

Enters the Windows main loop. This function must be called if the application has a window. The call to wb_main_loop() must be the last executable statement of the PHP script: All statements after it will be ignored. The return value is used for debugging purposes only and may be ignored.

Example

// A Windows application with only three lines

include("../include/winbinder.php");                                // Include WinBinder library
wb_create_window(NULL, PopupWindow, "Hello world!", 480, 320);  // Create application window
wb_main_loop();                                                 // Enter message loop

See also

System functions
Callback functions and window handlers
Windows messages and events