SGRelease
TheSGReleasefunction instructs the sequence grabber to release any system resources it allocated when you called theSGPreparefunction, which is described in the previous section. You should callSGReleasewhenever you callSGPreparewithout subsequently starting a record or preview operation.
pascal ComponentResult SGRelease (SeqGrabComponent s);
s- Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's
OpenDefaultComponentorOpenComponentfunction.DESCRIPTION
When you stop a record or preview operation by calling theSGStopfunction, the sequence grabber component automatically releases the resources it uses during the operation. Consequently, you do not have to call this function after a record or
preview operation.You cannot call the
SGReleasefunction during a record or preview operation.