private void RipNetStream_Load(object sender, System.EventArgs e)
        {
            uint version = 0;

            FMOD.RESULT result;

            /*
             *  Create a System object and initialize.
             */
            result = FMOD.Factory.System_Create(ref system);
            ERRCHECK(result);

            result = system.getVersion(ref version);
            ERRCHECK(result);
            if (version < FMOD.VERSION.number)
            {
                MessageBox.Show("Error!  You are using an old version of FMOD " + version.ToString("X") + ".  This program requires " + FMOD.VERSION.number.ToString("X") + ".");
                Application.Exit();
            }
            result = system.init(100, FMOD.INITFLAGS.NORMAL, (IntPtr)null);
            ERRCHECK(result);

            /*
             *  Bump up the file buffer size a little bit for netstreams (to account for lag).  Decode buffer is left at default.
             */
            result = system.setStreamBufferSize(128 * 1024, FMOD.TIMEUNIT.RAWBYTES);
            ERRCHECK(result);

            result = system.attachFileSystem(opencallback, closecallback, readcallback, null);
            ERRCHECK(result);
        }