VirtualBox

Changeset 8887

Show
Ignore:
Timestamp:
05/16/08 14:01:53 (4 months ago)
Author:
vboxsync
Message:

Windows Guest VBoxTray: Logging.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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),  

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy