PDA

Click to See Complete Forum and Search --> : About Corrupt DLL


Shree
May 26th, 2002, 08:53 AM
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.

jim mcnamara
May 26th, 2002, 09:02 AM
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.

CornedBee
May 27th, 2002, 08:25 AM
I think iphlpapi.dll is the Process Help API and therefore NOT a COM server.

Shree
May 31st, 2002, 03:18 AM
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.

CornedBee
May 31st, 2002, 03:23 PM
Don't try to register/unregister it. It's not possible.