Search code examples
asp.netdllwindows-7regsvr32component-services

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


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!


Solution

  • I found the answer: I need to add a new application to the service components in my computer and then add the right DLL's.

    Thanks! If anyone has the same problem, I'll be happy to help.