I have a .net assembly dll which i am trying to register using regsvr32, but get the following error:
"dll loaded but DllRegisterServer entry point was not found "
getting this error while registering the other dlls also.
I have a .net assembly dll which i am trying to register using regsvr32, but get the following error:
"dll loaded but DllRegisterServer entry point was not found "
getting this error while registering the other dlls also.
There is a Microsoft KB article on regsvr32 that you should read. A DLL must be a COM library for it to be registered. This exposes the entry function (DllRegisterServer) noted in the error message. This might not be there is the DLL is not designed to be registered, or is "corrupt" in some way. You can find out if a function is exported using DLL Export Viewer.
It would be great if you could provide information on whether you have the source code for the DLLs and why you need to register them. If you have a plain Win32 DLL you can access functions by loading it with LoadLibrary from native code. You need to use P/Invoke from .NET code.