Supported Browsers Home   
PE_getProcAddress Previous   
PE_loadLibraryExt Next   
External Functions Up   

PE_loadLibrary

Loads a Portable Binary DLL into memory

Declaration

PE_MODULE * PEAPI PE_loadLibrary(
    const char *szDLLName,
    ibool shared)

Prototype In

drvlib/peloader.h

Parameters

szDLLName

Name of the PE DLL library to load

shared

True to load module into shared memory

 

Return Value

Handle to loaded PE DLL, or NULL on failure.

Description

This function loads a Portable Binary DLL library from disk, relocates the code and returns a handle to the loaded library. This function will only work on DLL's that do not have any imports, since we don't resolve pimport dependencies in this function.

See Also

PE_getProcAddress, PE_freeLibrary

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com