Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>sx_autoshare():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Sx_AutoShare():

  Syntax:   Sx_AutoShare( [nMode] )

            nMode = Optional numeric value indicating the sharing mode to
                    set.  Valid values are 0, 1, and 2.

                    0 = No automatic sharing control is done.  This is the
                        standard behavior for the DBFNTX driver.

                    1 = This is the default mode used by The SIx Driver.  In
                        this mode, The SIx Driver automatically determines at
                        runtime if the application is running in a shared
                        environment (on a network, or on a local drive with
                        SHARE loaded).  If the application is not running in
                        a shared environment, The SIx Driver will automatic-
                        ally open all tables in EXCLUSIVE mode.

                    2 = Forces all tables to be opened in EXCLUSIVE mode at
                        all times.

  Returns:  A numeric value indicating the current sharing mode or, if a
            parameter was passed to the function, the previous setting.

  Description:  Sx_AutoShare() gives you control over the automatic handling
                of file sharing done by The SIx Driver.

  Examples:

    ? Sx_AutoShare()     // Returns 1 (Default)

    // Set up for network testing in a stand-alone environment.
    Sx_AutoShare(0)

    // Set up to force all USE's to be done EXCLUSIVE
    Sx_AutoShare(2)

    USE test SHARE       // The SHARED keyword is ignored


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson