Registering Win32 COM DLL gives Error
I have created a C++ Win32 Dll.
I have created a .def File which contains the names of the functions in Win32.Dll
As: 1Win32.cpp includes a class library file named gs.tlb
It has functions named sum, strupper
When i try to register the DLL i am getting error
The module 1Win32.dll loaded but the entry-point DllRegisterServer was not found.
How to register the dll to be used at different places/environments ?
I am using COM components.
Help would be really appreciated.
Re: Registering Win32 COM DLL gives Error
That's something wrong in your explanation. COM dll indeed requires for registration. But COM dll does not export anything but standard entries required by COM specification, i.e. DllRegisterServer, etc.
On the other hand, regular dll can export any function entries. But such regular dll does not require any registration. To be successfully found by dll clients it should be placed either next to client's binary or somewhere in PATH.