home *** CD-ROM | disk | FTP | other *** search
- /* This program, snotes.c, created by Delrina and assigned to the Notes */
- /* button, brings up the Information dialog, as if you selected Setup|Information. */
-
- /* $Revision: 1.0 $ */
- /* $Date: 26 Apr 1993 15:20:50 $ */
-
- /* Define main function, which is always the starting point of C programs. */
- /* (The term "void" indicates that the function returns no value.) */
- void main ()
- {
- /* Declares a variable and initializes it to zero. */
- long ScriptHandle = 0;
-
- /* Establish a link between this script program and Delrina WinComm PRO */
- ScriptHandle = dcInitialize(0, 0, 0, 0);
-
- /* Exit if intialization of link with Delrina WinComm PRO failed */
- if (ScriptHandle == 0) exit();
-
- /* Same as selecting Setup from the menu bar, then Information */
- dcMenuString(ScriptHandle, "SI");
-
- /* Terminate link between Delrina WinComm PRO and script program */
- dcTerminate(ScriptHandle, 0);
- }
-
-