Solved

DLL Information getting lost

Posted on 2006-11-18
4
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

696 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