VirtualBox

Changeset 30717 in vbox


Ignore:
Timestamp:
Jul 7, 2010 4:53:36 PM (15 years ago)
Author:
vboxsync
Message:

windows build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/VirtualBoxImpl.cpp

    r30714 r30717  
    24332433        char exePathBuf[RTPATH_MAX];
    24342434        char *exePath = RTProcGetExecutableName(exePathBuf, RTPATH_MAX);
    2435         ComAssertBreak(exePath, E_FAIL);
     2435        if (!exePath)
     2436        {
     2437            rc = d->that->setError(E_FAIL, tr("Cannot get executable name"));
     2438            break;
     2439        }
    24362440
    24372441        Utf8Str argsStr = Utf8StrFmt("/Helper %s", client.name().raw());
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