Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a Dll with VC++ -> MFC Dll -> Regular DLL with MFC statically linked
I can use that dll in C# with DllImport[]

But , why it cann't register in system by regsvr32.exe ? regsvr32 comes up with the following error:
The module "... .dll" was loaded but the entry-point DllRegisterServer was not found.

please help me.
Richard MacCutchan 8-Feb-15 4:26am    
What do you think that message is trying to tell you?

1 solution

Regsvr32 is used for COM-interfaces of C++.dll. For C# Regasm is used.

I wrote an article Calling all stations about an easy way using C++ dll in C#.
Share this 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