Re : mktime not includet other ways?

windows ce


  • 1. standard SDK for WindowsCE
    Hi, What does this standard SDK do ?? Do I require it as my application is a MFC app written in EVC++4.0. This is working on the hardware which has Windows CE5.0 The core does not include this, how do I know my App requires this SDK. thanks Regards Prasanna
  • 2. Error in schedule.c file
    Hi, I am getting the following error in the debug version of Win CE 5.0. Once this error occurs, the device hangs. I have to reset it to start again. NK Kernel: DEBUGCHK failed in file c:\macallan\private\winceos\coreos\nk\kernel\schedule.c at line 4533 I am developing a multimedia player application. The error does not appear to be generated from this application. In the schedule.c file in the kernel directory, one of the attributes (CLEANEVENT lpce) for the current thread is NULL. Thats when the error occurs. Has anyone come across this error in Win CE? Suggestions will be appreciated. Thank you Bala
  • 3. SMDK 2410 SDIO
    Hello all, We are trying to integrate a third party SDIO based WLAN Driver DLL into the SMDK 2410 BSP available with WinCe 5.0. We are able to see that the SDIO Host Controller driver initializes, it detects and loads the third party WLAN NDIS driver. However, after the execution of DriverEntry and NdisMSetAttributesEx routines, we see an error from the DEVICE.exe context. The same is given below: ""Security check (1234907250) failed in proc edf95212, WMGR not on line!"" On the Display unit, we observe that the GWES Shell is up, and a Error Dialog box pops up telling Security ERROR occurred in DEVICE.EXE. We have performed a DEBUG build also and observe the same. Any help in this regard would be great. Thanks
  • 4. Removing the Taskbar
    Hi, I am working on BSP cloned from MainstoneII. I have set the taksbar to autohide from the registry setting. I am launching my application at startup from the registry setting. [HKEY_LOCAL_MACHINE\Init] "Launch110"="windows\\my_application.exe" But it takes some time to load and in the meanwhile I can see the desktop. and its easy to tap on the desktop to open "my device" (i'm using touch panel.) Also I have set the application to maximaze but still if I touch on the bottom of the screen the taskbar appears again. Is there anyway to remove the taskbar instead of hiding it. And also can we make the desktop empty ie. no My Device or Recycle Bin icons. Please suggest. Thanks. -- GD Shukla

Re : mktime not includet other ways?

Postby lexbguard-usenet » Fri, 04 Feb 2005 23:06:03 GMT

Hello JC,

I think you mean time.h ?

Had the same problem over here today. I included a large 
portion of native C which came from a linux system 
which uses mktime. I could include the time.h file and 
get the proto types but I couldn't use the mktime function
in my native C parts (also not in the C++ parts of the project).

It can be fixed by creating a file e.g. ce_conv.cpp 
containing : 

** standard C functions (wrapped Windows CE C++ code)

#include <Afx.h>	// needed for CTime and WCE_FCTN
#include <time.h>	// needed for time_t

extern "C" time_t mktime(struct tm *tm);

time_t mktime(struct tm *tm)
	return WCE_FCTN(mktime)(tm) ; 
/* END CODE */

Just include time.h into the C source file where you need the 
mktime function. 
In the C++ source file where you need the mktime 
just add the above extern "C" time_t mktime.... declaration.

This trick also works with other stdlibC functions.

Similar Threads:

1.mktime not includet other ways?

hi guys,

i try to convert a tm struct with date time to secounds since 1.1.1970.
normaly it works with the mktime function in the timer.h but in eVC it 
seems that this funktion is not includet.
do anybody knows an other way to convert the tm struct in secounds?

with best regards,

2.How to use mktime?


I would like to use the function mktime.  I have found the declaration in 
time.h but I get an linker error while building. Which library do I need?

Regards Peter

3.strftime & mktime

Deal All,

How do I build the procjet that uses strftime & mktime?

That library I must include?



4.mktime linker error?

I've create a DLL (not using MFC)
In the DLL, I make a call to the "mktime" and "time" run-time-library functions
The source compiles fine, as they are both declared in the time.h header file
But the linker keeps telling me they are undefined. I do understand that the linker can't find them
but I don't know why that should be the case
Why should these common functions be missing from the runtime library
I can't find any information anywhere about this problem

What am I missing. Please help


-- Sanjay

5.Media Sharing not working both ways.

Hi I have two Win XP Pro machines whoes media is shared and One Vista 
ulitmate machine whose media is also shared.
the problem is that although Vista machien can access media of both the XP 
machines but none of the XP machienes can access media of other XP machine or 
Vista machine.
Any idea how to make WMP in XP access media of other XP machine?
All three machines are on same network and they all are running WMP11.

Will be thankful for your replies.

6. DFS / FRS Not replicating two ways

7. Windows Messenger 4.7 voice not working BOTH ways

8. FAQ - Including not 1 but 2 ways of killing popups :-)

Return to windows ce


Who is online

Users browsing this forum: No registered users and 70 guest