Results 1 to 8 of 8

Thread: Regsvr32 errors?

  1. #1
    bsmfs
    Guest

    Regsvr32 errors?

    Im having trouble registering dll files, I have tried a few different dlls but they all result in similar errors.

    I click run, then type,
    Regsrv32.exe C:\VB_Stuff\mze.dll

    then Regsrv will give me a message like

    LoadLibrary("C:\VB_Stuff\mze.dll") Failed.
    GetLastError returns 0x00000485

    Does anybody know what this error means?

    Any help is appreciated.

  2. #2
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Was the DLL made in VB?

  3. #3
    bsmfs
    Guest
    Thanks for reply.

    Yes, I know some of the dlls I have tried were made in VB.
    will regsrv only accpet C or C+ type dlls?

  4. #4
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    No.

    As far as I know, they only accept DLLs with an entry point. (VB and Visual C/C++-made DLLs have this)

    Did you have the DLL registered already, and trying to register it again?

  5. #5
    jim mcnamara
    Guest
    Two things -
    Firsrt, the OS will give you the error message. Use FormatMessage api. See www.allapi.net for sample code.

    Second, only dll COM servers need to be registered. In other words, regular dll's that simply output functions (like kernel32.dll) do not have to be registered. You will always get an error trying to register this type of dll.

  6. #6
    bsmfs
    Guest
    Im pretty sure they were not already registered.
    Is they a way of viewing dlls you have registered, like a prog that will list all registered dlls in your system?

  7. #7
    jim mcnamara
    Guest
    OLEVIEW.EXE will do what you want - www.msdn.microft.com for download.

    It's easier just to try to unregister them: regsvr32 /u filename

  8. #8
    bsmfs
    Guest
    Cheers Guys.

    The dlls I was trying are standard, I will stop trying to register unregisterable files

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