示例#1
0
 static void CloseProgram()
 {
     // Unloading
     try
     {
         CInput.Close();
         CSound.RecordCloseAll();
         CSound.CloseAllStreams();
         CVideo.VdCloseAll();
         CDraw.Unload();
         CLog.CloseAll();
         CDataBase.CloseConnections();
         CWebcam.Close();
     }
     catch (Exception)
     {
     }
 }