Solved

loadlibrary ("mydll.dll") failed.GetLastError returns 0*0000001f

Posted on 2002-07-27
4
710 Views
Last Modified: 2008-02-01
Hi All,
      I developed a dll in c++,i have used the msxml.dll in this program.The problem is this when i register this dll on window 2000 by using this command - regsvr32 "c:\MyDll.dll" ,It will be registered
properly.But when i want to register this dll on window 98 it gives this error.
      LoadLibrary ("My Dll Name") Failed.GetLastError returns 0*0000001f
And when i saw the help in MSDN about this error ,It say that "A device attached to the system is not functioning. ".What is it mean?
Or it Say some files which dependens on this DLL are mising or corrupted.

If any one have an idea about this error then please guide me,I shall be grate thankfull all of you.


I Also have checks the dependencies of this file as well.

From
Kashif
0
Comment
Question by:Kashif_1977
4 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 80 total points
Comment Utility
That means that one or more of the DLLs that your DLL uses are not found on the target system.

Use the Visual Studio DEPENDS.EXE application on your DLL to determine what DLLs it uses.  Then, find out which of these are missing on your target system.

My guess is that it's related to the MSXML.DLL and it being either out of date or missing on your WIN98 system.
0
 

Expert Comment

by:Nicole_N
Comment Utility
To expand upon that description - msxml requires a number of other dlls in order to work.  The whole package may be found from msdn.microsoft.com under the XML downloads section.  The runtime is about 250K and installs MSXML 2.6 IIRC.
0
 
LVL 11

Expert Comment

by:griessh
Comment Utility
Dear Kashif_1977

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "jhance"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now