VirtualBox

Changeset 2640 in kBuild


Ignore:
Timestamp:
Sep 9, 2012 1:49:16 AM (12 years ago)
Author:
bird
Message:

imagecache.c: Don't cause popup on retry.cmd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/w32/imagecache.c

    r2635 r2640  
    129129    memcpy(pCur->szName, pszExec, cchName + 1);
    130130    pCur->hmod1 = LoadLibraryEx(pszExec, NULL, LOAD_LIBRARY_AS_DATAFILE);
    131     pCur->hmod2 = LoadLibraryEx(pszExec, NULL, DONT_RESOLVE_DLL_REFERENCES);
     131    if (pCur->hmod1 != NULL)
     132        pCur->hmod2 = LoadLibraryEx(pszExec, NULL, DONT_RESOLVE_DLL_REFERENCES);
     133    else
     134        pCur->hmod2 = NULL;
    132135
    133136    *ppCur = pCur;
Note: See TracChangeset for help on using the changeset viewer.

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