Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

time.h: Linking error

0 views
Skip to first unread message

hari

unread,
Nov 25, 2009, 12:05:01 AM11/25/09
to
Hi,

I have an application where I am using the function like time(),gmtime()
from time.h.My code compiles but I get linking errors. So Could you please
tell which library needs to be included for time.h?

Thanks in advance.

Regards,
Harish

Luca Calligaris [eMVP]

unread,
Nov 25, 2009, 1:43:22 AM11/25/09
to
Windows CE does not support many time routines (check
%_WINCEROOT%\PUBLIC\COMMON\SDK\INC\time.h): anyway those functions are part
of the CRT so you should link to corelibc.lib

--
Luca Calligaris (MVP-Windows Embedded)
l.calliga...@eurotech.it.nospam
www.eurotech.it


"hari" <ha...@discussions.microsoft.com> ha scritto nel messaggio
news:3E15129E-44F0-4034...@microsoft.com...

0 new messages