Declare Variables

Three variables are required by this example. withandle and exehandle serve the same purpose as they did in the first example, liveMode is used to keep track of whether live video is on or off:

[C#]
private IntPtr withandle;
private IntPtr exehandle;
private bool liveMode = false;

[Visual Basic]
Private withandle As IntPtr
Private exehandle As IntPtr
Private liveMode As Boolean = False

Previous 

Up 

Next