2015-05-22 16 views
1

我正在编写一个程序,在Windows Embedded Handheld 6.5终端上运行。 该程序写入C++ with the MFCs。 终端必须连接到BluetoothZebra打印机才能发送它ZPL文件。 对于Windows Mobile开发,我使用MS Visual Studio 2005。 PC的操作系统本身是Windows 8.1 Pro 64 bitWindows移动和蓝牙编程SDK下载

我想用的库ws2_32.libirprops.lib 和头winsock2.hws2bth.hBluetoothAPIs.h

我读到所有这些都可作为Windows SDK的一部分。

我的问题是,我不知道要下载哪个SDK(我需要在这里下载链接)。

你能帮我吗?

********************编辑1 **

随着MS Visual Studio 2005Windows 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:\programs\ms_visual_studio_2005\VC\ce\atlmfc\include\afxv_w32.h(38) : fatal error C1189: #error : MFC requires WINVER to be #defined to 0x0400 or greater 

你能帮助解决这个问题吗?

********************** EDIT 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 

********************** EDIT 3 **

执行修复程序VS80sp1-KB949009-X86-INTL.exe解决了EDIT描述的问题2.

回答

0

您需要Windows Embedded Handheld 6.5 DTK:http://www.microsoft.com/en-us/download/details.aspx?id=5389

+0

谢谢你的回答。 不好意思问这个问题,但是在我看到你的答案之前,我安装了:Windows 8的Windows软件开发工具包(SDK) (https://msdn.microsoft.com/en-us/windows/hardware/hh852363) 。你能告诉我这个SDK是否适合(为了我的特定目的)?谢谢。 –

+0

我刚刚编辑了我最初的问题。我有一个生成错误。你能看看吗?谢谢 –

+0

EDIT2构建错误说MS lib已损坏。似乎有一个修复http://support.microsoft.com/kb/949009/(ref:https://social.msdn.microsoft.com/Forums/en-US/2857d97d-f8c2-4390-97e0- a1be54348b52/corelibclibarmsecgsobj-fatal-error-lnk1103-debugging-information-corrupt-recompile-module?forum = vssmartdevicesnative) – josef