Hi guys,

Anybody can help me out with this. I have made a DLL with VB.net. Under project settings i have marked checked 2 things
1. Register for COM interop
2. Make assembly COM visible

When i build project its done successfully. Now i take DLL file from project location and copy it in System32. Then on command prompt i use following command to register self creating DLL so that other vb.net programs can use my DLL and etc.

I used: regsvr32 C:\windows\System32\abc.dll

But when i press enter i get the following error message. Why this DLL file is not registering as a COM component
Error is :
-----------
The module "C:\windows\System32\abc.dll" was loaded but the entry-point DllRegisterServer was not found
Make sure that
"C:\windows\System32\abc.dll" is a valid DLL or OCX file and then try again

What is the solution for this. Quick reply will be appreciated.

Regards
Ahmed

Recommended Answers

All 2 Replies

You can use the Regsvr32 tool to register and unregister OLE controls such as DLL or ActiveX Controls (OCX) files that are self-registerable.

Please read this article - What is a DLL?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.