Click here to Skip to main content
15,848,451 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to register mydll.dll I dont know in what language it has been written

I am doing
regsvr32  "C:\Windows\System32\mydll.dll"

in run

I get the following error:

The module "C:\Windows\System32\mydll.dll" was loaded but the entry-point DllRegisterServer was not found.
Updated 2-Sep-12 1:04am

Regsvr32[^] is a tool for registering native dlls with COM[^]

>> I made ​​this dll file in c# 2010 from some classes.
If this is the case, all you need is to add a reference to your dll[^] from your project.

Best regards
Espen Harlinn
Share this answer
Looks like you haven't properly exported the entry point for the dll. See:[^]

Since you don't have the source code for the dll, try contacting the author of the library.

To export functions from C# dll, have a look at the following articles:
- How to Automate Exporting .NET Function to Unmanaged Programs[^]
- Simple Method of DLL Export without C++/CLI[^]
Share this answer
ehsaneng 2-Sep-12 6:14am    
I made ​​this dll file in c# 2010 from some classes.
i have the code source.
Wendelius 2-Sep-12 6:48am    
Ok, in your question you said that you didn't know what language was used.

So if I understand correctly, you would like to export some functionality from your C# dll to an unmanaged caller. See the updated answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900