用VS2005建立了一个Win32 Smart Device Project,打算在下面进行WinCE 6.0开发,但编译时出现以下错误,好几天了都解决不了,特来求助!!
1>------ Build started: Project: Test, Configuration: Debug Platform Builder (_TGTCPU) ------
1>Compiling...
1>STR_test.cpp
1>Linking...
1>Processed /NODEFAULTLIB:oldnames.lib
1>Processed /NODEFAULTLIB:oldnames.lib
1>Starting pass 1
1>Processed /DEFAULTLIB:LIBCMTD
1>Searching libraries
1> Searching C:\WINCE600\OSDesigns\TQ2440A\TQ2440A\Wince600\TQ2440_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\coredll.lib:
1> Searching C:\WINCE600\OSDesigns\TQ2440A\TQ2440A\Wince600\TQ2440_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\corelibc.lib:
1> Searching C:\WINCE600\OSDesigns\TQ2440A\TQ2440A\Wince600\TQ2440_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\ole32.lib:
1> Searching C:\WINCE600\OSDesigns\TQ2440A\TQ2440A\Wince600\TQ2440_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\oleaut32.lib:
1> Searching C:\WINCE600\OSDesigns\TQ2440A\TQ2440A\Wince600\TQ2440_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib:
1> Searching C:\WINCE600\OSDesigns\TQ2440A\TQ2440A\Wince600\TQ2440_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\commctrl.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\armv4i\LIBCMTD.lib:
1>Finished searching libraries
1>Finished pass 1
1>STR_test.obj : error LNK2019: unresolved external symbol __imp__CloseHandle referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol __imp__ReadFile referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol _memset referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol __imp__WriteFile referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol _wcslen referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol _MessageBoxW referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol __imp__CreateFileW referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function _WinMain
1>STR_test.obj : error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function _WinMain
1>Platform Builder (_TGTCPU)\Debug/Test.exe : fatal error LNK1120: 9 unresolved externals
1>Build log was saved at "file://c:\WINCE600\OSDesigns\Test\Test\Platform Builder (_TGTCPU)\Debug\BuildLog.htm"
1>Test - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
------解决方案--------------------------------------------------------
缺少lib文件
------解决方案--------------------------------------------------------
参考。。。