Errors occurs while compiling Smart device MFC application using VS2005
-
I am trying to make an smart device MFC application using VS2005. The VS2005 gave Pocket PC 2003 + some other ones as SDK. But i wanted to make my own SDK and make it work. Why I wanted this way was that, I have created an OS image ( I had given set sysgen_mfc=1). Also I created a sample SDK. So I can build my smart device application using sample sdk , Then download the image. Now i can make the application work fine and for debugging the same I can use emulator. But I am getting these errors while compling "stdafx.cpp" C:\Program Files\Windows CETools\wce600\SDK2\include\ARMV4I\malloc.h(45) : error C2143: syntax error : missing ',' before '*' D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(403) : error C3861: 'wcsftime': identifier not found D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(430) : error C3861: 'wcsftime': identifier not found D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlcomtime.h(367) : error C3861: 'wcsftime': identifier not found Can anyone know what to do, to resolve these errors.
thanks
-
I am trying to make an smart device MFC application using VS2005. The VS2005 gave Pocket PC 2003 + some other ones as SDK. But i wanted to make my own SDK and make it work. Why I wanted this way was that, I have created an OS image ( I had given set sysgen_mfc=1). Also I created a sample SDK. So I can build my smart device application using sample sdk , Then download the image. Now i can make the application work fine and for debugging the same I can use emulator. But I am getting these errors while compling "stdafx.cpp" C:\Program Files\Windows CETools\wce600\SDK2\include\ARMV4I\malloc.h(45) : error C2143: syntax error : missing ',' before '*' D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(403) : error C3861: 'wcsftime': identifier not found D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(430) : error C3861: 'wcsftime': identifier not found D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlcomtime.h(367) : error C3861: 'wcsftime': identifier not found Can anyone know what to do, to resolve these errors.
thanks
This seems to be compilation error because of not including correct header files. Try including the required header files in stdafx.h