Solved

DLL Information getting lost

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Learn about cloud computing and its benefits for small business owners.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

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