locked
Problem or a possible bug with LoadPackagedLibrary when used on an exe

    Question

  • When using LoadPackagedLibrary on an exe that is already in memory, it returns a valid HMODULE handle.  However it is a second copy of the exe, not a handle to the one already in memory. 

    This happens from a dll and from within the exe itself.

    Tuesday, June 18, 2013 10:52 PM

All replies

  • I have seen this behavior as well... This is not what this API was designed to do, according to the documentation.
    Wednesday, June 19, 2013 4:25 PM