Box 24

 Home   Infos   Tipps   Webmail   Humor   Polizei   Gästebuch   Downloads   Chat   Suchen   Feedback   Links 

 

 Anmelden/Login   Neuanmeldung/New User   Java Telnet Applet   Telnet   
 

wcStart

(since 5.4.449.4)

New options for each process properties:

[ ] Wait for completion

If this option is checked, wcStart will load/start the application and wait until it is finished before continuing to the next start process.  This is useful for operations where a program is required to be loaded to perform some necessary initialization and then exits prior to doing anything else.
The program does not need to stay running.

Note:

This will not work with batch files. Only 32 bit applications. To use a batch file, make the program:

program:   c:\winnt\cmd.exe           << For NT
program:   c:\windows\command.exe     << For 95/98

arguments: /C yourbatch.cmd

The /C is very important otherwise it will never return back to wcStart.

Optional Up Event Signal: ______________________________________

The Up Event Signal is a special Win32 Event Handle that wcStart will watch for to signify a successful process startup. This will only work for applications which support an Up Event signal.

WcOnline has an Up Event signal called Wildcat.OnlineUpEvent.
THIS IS CASE SENSITIVE. If defined, wcStart will wait for this signal from wcOnline before continuing.

For 3rd Party Authors:

3rd party authors can augment their successful integration with WINServer's wcStart logic by adding their own up event signal.

This is very easy to do by using the Win32 CreateEvent() api function. This is an example of how wcOnline creates this event signal:

// This is done in WcOnline start/main program logic when
// everything pertaining to wcOnline has been initialized.

Event = CreateEvent(NULL, TRUE, TRUE, "Wildcat.OnlineUpEvent");

// This is done in WcOnline close/exit logic:

CloseHandle(Event);

Note: The named event is case sensitive.

© 2001 Hector Santos, http://www.santronics.com