The module ".dll" was loaded but the entry-point was not found

st mnmn picture st mnmn · Apr 19, 2012 · Viewed 114.9k times · Source

I have a DLL which cause to an error when I run the application. The error says that the service is not registered. So I run command regsvr32 with the name of the DLL. But it gives me an error, now the error is:

The module 'mydll.dll' was loaded but the entry-point 'DllRegisterServer' was not found.

Make sure that 'mydll.dll' is a valid DLL or OCX file and then try again

I worked on Windows 7 64-bit. On Windows XP it works fine!. Does someone know what it can be? Thanks!

Answer

Steve picture Steve · Apr 22, 2012

The error indicates that the DLL is either not a COM DLL or it's corrupt. If it's not a COM DLL and not being used as a COM DLL by an application then there is no need to register it.
From what you say in your question (the service is not registered) it seems that we are talking about a service not correctly installed. I will try to reinstall the application.