home *** CD-ROM | disk | FTP | other *** search
/ NetComm Communications 5 / NetComm.iso / resource / netcomm / wcomm / disk3 / snotes.c_ / snotes.bin
Encoding:
Text File  |  1994-10-24  |  926 b   |  27 lines

  1. /* This program, snotes.c, created by Delrina and assigned to the Notes */
  2. /* button, brings up the Information dialog, as if you selected Setup|Information. */
  3.  
  4. /* $Revision:   1.0  $ */
  5. /* $Date:   26 Apr 1993 15:20:50  $ */
  6.  
  7. /* Define main function, which is always the starting point of C programs. */
  8. /* (The term "void" indicates that the function returns no value.) */
  9. void main ()
  10.     {
  11.     /* Declares a variable and initializes it to zero. */
  12.     long ScriptHandle = 0;
  13.  
  14.     /* Establish a link between this script program and Delrina WinComm PRO */
  15.     ScriptHandle = dcInitialize(0, 0, 0, 0);
  16.  
  17.     /* Exit if intialization of link with Delrina WinComm PRO failed */
  18.     if (ScriptHandle == 0) exit();
  19.  
  20.     /* Same as selecting Setup from the menu bar, then Information */
  21.     dcMenuString(ScriptHandle, "SI");
  22.  
  23.     /* Terminate link between Delrina WinComm PRO and script program */
  24.     dcTerminate(ScriptHandle, 0);
  25.     }
  26.  
  27.