March 7th, 2011, 04:54 PM
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.
March 8th, 2011, 12:18 PM
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.
Last edited by Igor Vartanov; March 8th, 2011 at 12:20 PM.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.