• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

DLL registeration Error!!!

Hi,
I created a regular DLL using the MFC appwizard and I'm exporting a single function. I followed the steps listed in MSDN for the same, but when I run Regsvr32 for registering the DLL, the error message given below pops up.
      "The DLL was loaded but the DllRegisterServer entry point was not found"

Pls. help me out to resolve this error.

Thanking in advance,
SJT
0
santajt
Asked:
santajt
1 Solution
 
rwilson032697Commented:
You don't need to use Regsvr32 for ordinary DLLs, only those than implement COM/ActiveX servers/objects.

If you have implemented such an object in your DLL, you will need to have these functions implemented:

DllRegisterServer,
DllCanUnloadNow,
DllGetClassObject,
DllUnregisterServer

The MSDN should give you the apporpriate instructions if you need to ue them.

Cheers,

Raymond.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now