Click here to Skip to main content
Sign Up to vote bad
good
See more: C#ASP.NETDLL
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.
Posted 2 Sep '12 - 0:01
Edited 2 Sep '12 - 0:04


2 solutions

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
  Permalink  
Looks like you haven't properly exported the entry point for the dll. See: http://support.microsoft.com/kb/249873[^]
 
Since you don't have the source code for the dll, try contacting the author of the library.
 
Addition:
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[^]
  Permalink  
Comments
ehsaneng - 2 Sep '12 - 6:14
I made ​​this dll file in c# 2010 from some classes. i have the code source.
Mika Wendelius - 2 Sep '12 - 6:48
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,123
1 OriginalGriff 6,040
2 CPallini 3,432
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 2 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid