CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 1999
    Posts
    11

    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.



  2. #2
    Join Date
    Jul 1999
    Posts
    5

    Re: OCX Registration - Urgent please!!!

    run the following commandDOS box,or windows run)

    regsrv32 yourOCXname.OCX

    regsrv32 will register your OCX in the registry


  3. #3
    Join Date
    Jul 1999
    Posts
    5

    Re: OCX Registration - Urgent please!!!

    You must also register the DLL's you're using, don'you ?


  4. #4
    Join Date
    Jul 1999
    Posts
    3

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured