Solved

DLL Information getting lost

Posted on 2006-11-18
4
277 Views
Last Modified: 2008-01-09
I have this weird problem.

After registering some dll, it works fine for some time. but after that it can not be accessed. then i'll need to register the dll again to make it work.

the error comes up when javascript is trying to use that dll to create objects or whatever.
the code has nothing to do with it.
the dll works fine and has nothing wrong with it. I guess

so i think it has something to do with windows loosing the registry information. i can't think of anything that would cause that to happen.

any suggestions or ideas would be appreciated.

bashar
0
Comment
Question by:beasha
4 Comments
 
LVL 2

Author Comment

by:beasha
ID: 17986224
this is the error number that come up:

'800701e7'

and the line in javascript has this code:

obj = new ActiveXObject("");

i hope this makes sense. i really want this problem to be solved
0
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 18020766
Not sure why the DLL is de-registering.  DLL hell is fun.  Possibly some other application is deregistering the same DLL.

You can work around the problem by doing a DLL pre test.
Do a dummy DLL function call for the only purpose of checking to see if the DLL is properly loaded.
If no failure, proceed.  If it fails, shell out to:  regsvr32 c:\somepath\yourdll.dll.

This is good in the fact that your javascript app will be self healing.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

13 Experts available now in Live!

Get 1:1 Help Now