Results 1 to 5 of 5

Thread: About Corrupt DLL

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Location
    Nepal
    Posts
    103

    Question About Corrupt DLL

    My program was not working properly so I thought one of the associated dll files may not be working. All the dll files were in place. So I tried to register them using the following command:

    regsvr32 C:\windows\system\iphlpapi.dll

    Now what the computer answered was this:

    C:\windows\system\iphlpapi.dll was loaded, but DLLRegisterServer entry point was not found.

    A corrupt version of C:\windows\system\iphlpapi.dll may be in memory, try using PView to detect & remove it.

    Now What should I do so that the iphlpapi.dll problem gets repaired & my problem is sorted out.

    Thanks in advance.

  2. #2
    jim mcnamara
    Guest
    First -
    Is the .dll a COM server? If not, then your problem is solved because 'regular' dll's do not expose COM interfaces. You do not ever regsiter 'regular' dll's. Judging by the name of the .dll file, I'm guessing it is NOT a COM server.

    Next -
    ------------------------------
    If it truly is a COM server, then you do have a problem.

    First try:
    regsvr32 -u C:\windows\system\iphlpapi.dll
    regsvr32 C:\windows\system\iphlpapi.dll

    If that fails, rename the file to something like foo.dll - if the system doesn't have the file open you can do this( otherwise reboot to clear open file references).

    Once the file is renamed, you should be able to reboot. Put a good copy of C:\windows\system\iphlpapi.dll in place then register it.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I think iphlpapi.dll is the Process Help API and therefore NOT a COM server.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Location
    Nepal
    Posts
    103
    Well I am new to vb & don't really know what does a COM server means. & I tried whatever you said. & Now the software works fine ( as I installed a new iphlpapi.dll), but the registration message continues to be the same, whether I try to register or unregister it with regsvr32. What can be done so that the Message saying there is a copy of corrupt dll in memory won't come anymore in the computer.

    Thanks a lot for your help.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Don't try to register/unregister it. It's not possible.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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