I have ran a RunTime function _Strdate(), which retrieves
date in sd.c file compiled with Microsoft Compiler. It
ran properly. But when I linked that sd.obj file to my
driver, then it resolved those linker errors e.g., for
_strdate() function . the exec. file sd ran upto my
expect. . Before linking my driver with this sd.obj, my
driver ran upto my expect. Now after when I linked out
sd.obj to my kernel driver , It imported the _strdate()
into my driver, then my driver couldn't even load ???

Re: DDK Kernel Driver by Don

Don
Thu Sep 04 09:20:45 CDT 2003

You are using a user space function (in this case in a DLL for user space)
in your driver, bottom line is you cannot do this. Use RtlTimeToTimeFields
to roll you own.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

"Sudhanshu Deshmukh" <sudhanshudeshmukh402@hotmail.com> wrote in message
news:104d01c372ed$6f0ceec0$a101280a@phx.gbl...
> I have ran a RunTime function _Strdate(), which retrieves
> date in sd.c file compiled with Microsoft Compiler. It
> ran properly. But when I linked that sd.obj file to my
> driver, then it resolved those linker errors e.g., for
> _strdate() function . the exec. file sd ran upto my
> expect. . Before linking my driver with this sd.obj, my
> driver ran upto my expect. Now after when I linked out
> sd.obj to my kernel driver , It imported the _strdate()
> into my driver, then my driver couldn't even load ???