Solved

DLL Information getting lost

Posted on 2006-11-18
4
289 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

792 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