error LNK2005: _DllMain@12 already defined in ShacoZip.obj
I get this error when I compile a dll I am trying to create using VS.NET 2003.
I added this DllMain() to the main.cpp because when I tried to regsvr32 the dll I got a message telling me that there was no entry point for the dll.
BOOL APIENTRY DllMain( HANDLE hModule,
I have been doing some research and am seeing things relating to .def files. I am not very familiar with creating dll's but this needs to be done so a vb application can use it. Any help on how to get this to compile would be really appreciated.