OCX Registration - Urgent please!!!
Hi,
I am having problem registering an ActiveX Control made in VC++ 6.0 on any machine which does not have VC++6.0. Tried copying (and overwriting) the required dlls(MFCx0.dll, MSVCRTx0.dll, OLEPRO32.dll, OLEAUT32.dll) as mentioned in MSDN. I am using the RegSvr32.exe program to register the same.
It gives an error - "LoadLibrary failed" with an error code of 0x00000485(i.e Required library file missing).
Are there any other files which are required or what else could the prob be?
Any inputs would be appreciated.
Thanx in advance.
Yogesh.
Re: OCX Registration - Urgent please!!!
run the following command:(DOS box,or windows run)
regsrv32 yourOCXname.OCX
regsrv32 will register your OCX in the registry
Re: OCX Registration - Urgent please!!!
You must also register the DLL's you're using, don'you ?
Re: OCX Registration - Urgent please!!!
Yogesh,
Run Depends.exe.
It will list out all the files on which the OCX depends.
Make sure all those files are present on the machine on which you wish to register the OCX.
This utility comes with VC++ x.0.
HTH
Sejal