Answered by:
LoadLibary () returns Error for "Resource Only Dll" on Windows 7

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.RKC
If you have pride in what you do and do it with passion, results are sure.Tuesday, December 2, 2008 1:46 PM
Answers
-
Hello RKC,
Your question is related to Windows7, rather than C++. So I am moving it to "Where is the Forum For" to see if anyone there knows where to report the Windows7 issues.
Thanks
Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Saturday, March 31, 2012 4:10 AM
Friday, December 5, 2008 3:13 AM -
Post Windows 7 issues at www.answers.microsoft.com
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, March 31, 2012 4:11 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Saturday, March 31, 2012 4:11 AM
Saturday, March 31, 2012 4:11 AM
All replies
-
Hello RKC,
Your question is related to Windows7, rather than C++. So I am moving it to "Where is the Forum For" to see if anyone there knows where to report the Windows7 issues.
Thanks
Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Saturday, March 31, 2012 4:10 AM
Friday, December 5, 2008 3:13 AM -
Post Windows 7 issues at www.answers.microsoft.com
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, March 31, 2012 4:11 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Saturday, March 31, 2012 4:11 AM
Saturday, March 31, 2012 4:11 AM -
Try asking this question in the "General Windows Desktop Development Issues" Forum at the following address
http://social.msdn.microsoft.com/Forums/en-us/windowsgeneraldevelopmentissues/threads
Bye.
Luigi Bruno - Microsoft Community Contributor 2011 Award
Saturday, March 31, 2012 6:01 PM