Hi All,
I have a driver for WIN CE 4.2 OS, Mydriver.dll. In this driver I need to
use direct draw objects. So, included ddraw.lib under the linker options.
When I run the dll module, I get the following error:
ddraw.lib(ddmain.obj) : error LNK2005: _DllMain already defined in
MyDriver.obj
MyDriver.dll has the entry point as DllMain and ddraw.lib also has the entry
point as DllMain and hence the multiply defined symbols. How can I overcome
this? I cannot do away with ddraw.lib.
Thanks in Advance,
Johns