VirtualBox

Changeset 59289 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Jan 8, 2016 3:06:00 PM (9 years ago)
Author:
vboxsync
Message:

IPRT: Init order check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/ldrNative-win.cpp

    r57358 r59289  
    4646#include <iprt/string.h>
    4747#include "internal/ldr.h"
     48#include "internal-r3-win.h"
    4849
    4950#ifndef LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR
     
    6162                          ("pszFilename='%s'\n", pszFilename),
    6263                          VERR_INTERNAL_ERROR_2);
     64    AssertReleaseMsg(g_hModKernel32,
     65                     ("rtldrNativeLoad(%s,,) is called before IPRT has configured the windows loader!\n", pszFilename));
    6366
    6467    /*
     
    163166int rtldrNativeLoadSystem(const char *pszFilename, const char *pszExt, uint32_t fFlags, PRTLDRMOD phLdrMod)
    164167{
     168    AssertReleaseMsg(g_hModKernel32,
     169                     ("rtldrNativeLoadSystem(%s,,) is called before IPRT has configured the windows loader!\n", pszFilename));
     170
    165171    /*
    166172     * We only try the System32 directory.
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