Archived

This topic is now archived and is closed to further replies.

LoadLibrary() returns error 31

This topic is 5585 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, everyone. I have one .DLL which I want to load with LoadLibrary(). But a strange error 31 ("A device attached to the system is not functioning") is returned. What is this? Everything in my PC seems OK. I load other .DLLs with LoadLibrary() successfuly but this one is my problem. Any advice? Thanks, Ivan.

Share this post


Link to post
Share on other sites
a dependency is missing.
check the dll with depends.exe

i am sure another dll required for this dll is missing. I got the same problem running mfc42.dll on winnt4.0

Its my duty, to please that booty ! - John Shaft

Share this post


Link to post
Share on other sites