LoadLibary () returns Error for "Resource Only Dll" on Windows 7 RRS feed

  • Question

  • Hi All,

    I don't know whether this is the correct place to post this Issue.

    I've created an application which interns load a "Resource Only Dll". Now i'm executing my application on "Windows 7" and LoadLibrary is unable to load the dll and returns with Error code 87 - "The parameter is incorrect".

    I tried loading a normal dll and it is working fine.

    My "Resource Only Dll" is getting loaded successfully on all other version of Windows available (e.g. WinXP, WinVista etc.).

    Any Idea what can be the issue?

    Work Arround:
    For the time being I found a work arround. I've compiled my "Resource Only Dll" without "/NOENTRY" switch and it is working fine. I'm able to retrieve resources from the dll without any change in code.


    If you have pride in what you do and do it with passion, results are sure.
    Tuesday, December 2, 2008 1:46 PM


All replies