VirtualBox

Changeset 8887 in vbox


Ignore:
Timestamp:
May 16, 2008 12:01:53 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30922
Message:

Windows Guest VBoxTray: Logging.

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp

    r8857 r8887  
    376376            dprintf(("VBoxDisplayThread : DeviceIOControl succeded\n"));
    377377
     378            if (NULL == pCtx) {
     379                dprintf(("VBoxDisplayThread : Invalid context detected!\n"));
     380                break;
     381            }
     382
     383            if (NULL == pCtx->pEnv) {
     384                dprintf(("VBoxDisplayThread : Invalid context environment detected!\n"));
     385                break;
     386            }
     387
    378388            /* are we supposed to stop? */
    379389            if (WaitForSingleObject(pCtx->pEnv->hStopEvent, 0) == WAIT_OBJECT_0)
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp

    r8857 r8887  
    7474    printf("%s\n", pReq->szString);
    7575
    76     FILE* pFh = fopen("c:\\VBoxServiceDebug.txt", "at");
     76    FILE* pFh = fopen("c:\\VBoxTrayDebug.txt", "at");
    7777
    7878    /* Does maybe not work on Vista (write protection when starting without admin rights),
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette