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
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.