Solved

DLL Information getting lost

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dcdiag failures on some of my domain controllers 12 59
Independent domain networks for setup 6 110
shadow copies 7 70
Computer software inventory 5 79
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

14 Experts available now in Live!

Get 1:1 Help Now