Link to home
Start Free TrialLog in
Avatar of lsean
lsean

asked on

Register An ActiveX Control

I cannot register an ActiveX control I wrote on another machine (error 0x0485, cannot find one or more library file). How do I find out exactly what files are missing?
Avatar of psdavis
psdavis
Flag of United States of America image

Use the new program sent out with Visual C 6 called Depends.exe.  It will give you a complete list of dependent DLLs!

Phillip
Avatar of lsean
lsean

ASKER

Sorry, I am still using VC++ 5.0 and won't be upgrading to version 6 in the near future. Your solution probably works, but I cannot verify it right now.
I'll tell you what, how about I guess which DLL's are missing?

Try olepro32.dll and oleaut32.dll

Phillip

What language do you use ???

also does
>> (error 0x0485, cannot find one or more library file)
mean that you need some DLL or some other .lib kind of file ???

(I still think that Filemon can help you - you'll see which files your component is trying to use, but can't find ...)
>> (error 0x0485, cannot find one or more library file)
mean that you need some DLL or some other .lib kind of file ???

It would be a DLL.

Phillip

Avatar of lsean

ASKER

Philip,
    Sorry again.  All the libraries I can think of (including olepro32.dll and oleaut32.dll) are already there. I even build a debugging version of the program regsrv32.exe trying to trace down which file was missing.  The failure occurred in the call to the LoadLibrary( ) function, but I could not find any information on the missing file.
Send me the activeX control and I'll run depends on it, OK?

phillip@afix.net


ASKER CERTIFIED SOLUTION
Avatar of sudhirbrat
sudhirbrat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lsean

ASKER

Thanks for all the help I got, especially the suggestions from sudhirbrat and philip. There are multiple causes for my problem. On some machines it is because some ole and mfc dlls were not registered, as pointed out by sudhirbrat.  On others it is because oracle client software(used by my ActiveX control) was not installed properly.
Thanks again !!!