home *** CD-ROM | disk | FTP | other *** search
- /* This program, sfind.c, created by Delrina, finds selected files */
- /* as if you selected View|Find Session */
-
- /* $Revision: 1.2 $ */
- /* $Date: 06 Apr 1993 17:04:40 $ */
-
- /* 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 View from the menu bar, then Find from View menu */
- dcMenuString(ScriptHandle, "VS");
-
- /* Terminate link between Delrina WinComm PRO and script program */
- dcTerminate(ScriptHandle, 0);
- }
-
-