Solved

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

Posted on 2002-07-27
4
716 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
ID: 7181895
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
ID: 7198092
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
ID: 7378489
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
ID: 7420070
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

920 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

16 Experts available now in Live!

Get 1:1 Help Now