Using PB 4.2
Why Am I getting this error when my device driver (.dll) is linking?

MyDriver.dll warning LNK4060: entrypoint '__DllMainCrtStartup' is not __stdcall with 12 bytes of
arguments; image may not run
LINK : WARNING lnk4096: /base VALUE '0X100000' is invalid for Windows 95 and Windows 98; image may
not run.

I'm doing a CE device driver. How do I get rid of the above warning message.
Do I need a __DllMainCrtStartup entrypoint?

The above only happens in release. In debug, I don't get these warning errors.

Thanks.

John

Re: Link warning in my Device Driver by Steve

Steve
Thu Oct 21 13:43:32 CDT 2004

looks like your project linker settings a completely whacked for the
platform type.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com