我正在编写一个在Windows Embedded Handheld 6.5
终端上运行的程序。程序用C++ with the MFCs
语言编写。终端需要连接Bluetooth
- Zebra
打印机发送ZPL
文件。对于Windows Mobile开发,我使用MS Visual Studio 2005
。PC的操作系统是Windows 8.1 Pro 64 bit
。
我想使用库ws2_32.lib
和irprops.lib
winsock2.h
, ws2bth.h
, BluetoothAPIs.h
.
我读到所有这些都是Windows SDK
的一部分。
我的问题是我不知道下载哪个SDK(我需要这里的下载链接)。
你能帮我吗?
******************** 编辑1 * *
与MS Visual Studio 2005
和Windows Embedded Handheld 6.5 DTK
我得到一些构建错误:
1>------ Build started: Project: BtMob, Configuration: Debug Windows Mobile 6.5.3 Professional DTK (ARMV4I) ------
1>Compiling...
1>stdafx.cpp
1>D:programsms_visual_studio_2005VCceatlmfcincludeafxv_w32.h(38) : fatal error C1189: #error : MFC requires WINVER to be #defined to 0x0400 or greater
你能帮我解决那个问题吗?
********************** 编辑2 * *
如果我创建一个新项目并在之后构建它,我会得到以下错误消息:
1>------ Rebuild All started: Project: BtMob4, Configuration: Debug Windows Mobile 6.5.3 Professional DTK (ARMV4I) ------
1>Deleting intermediate and output files for project 'BtMob4', configuration 'Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)'
1>Compiling...
1>stdafx.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>Compiling...
1>BtMob4.cpp
1>MainFrm.cpp
1>BtMob4Doc.cpp
1>BtMob4View.cpp
1>Generating Code...
1>Compiling resources...
1>Linking...
1>corelibc.lib(armsecgs.obj) : fatal error LNK1103: debugging information corrupt; recompile module
********************** 编辑3 * *
执行hotfix VS80sp1-KB949009-X86-INTL.exe
可以解决EDIT 2中描述的问题。
您需要Windows Embedded手持6.5 DTK: http://www.microsoft.com/en-us/download/details.aspx?id=5389