ActiveSync 4.2 没有DMA选项问题的解决

在进行mobile开发的时候经常会借助于模拟器来进行调试,若要连接模拟器调试就得修改ActiveSync的连接设置,将选项改成DMA方式。我因为系统的一些问题,这个DMA选项没有了,只有一个COM1选项了。查了一些资料说是模拟器的注册信息丢失的原因。从国外的一个网站上搜到了一个帖子,觉得不错就拿来用了。这是原帖子的地址http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=144089&SiteID=1
为了防止上面的地址实效,以后用不到了,就把内容也摘抄出来了。^_^
原文内容:
This usually happens if the ActiveSync plugin is not registered properly.  You can try one of the following and see whether it fixes the problem.
1. Restart AS or machine - to restart AS kill wcescomm.exe
(If the above didn't fix the problem try the following)
2. Uninstall AS and reinstall it again
(If problem still not solved try this)
3. Manually register the emulator and AS plugin. Execute the following commands on a cmd shell
   a. devicemulator.exe /register
   b. dvcemumanager.exe /register
   c. regsvr32 deviceemulatorproxy.dll
   d. regsvr32 serdmaasplugin.dll
   e. regsvr32 deviceemulatorbootstrap.dll
The .exe and .dll files could be found under "C:\Program Files\Microsoft Device Emulator\1.0" assuming VS is installed under C: drive. 
deviceemulatorbootstrap.dll could be found under "C:\Program Files\Microsoft Visual Studio 8\SmartDevices\Emulators\DeviceEmulator"

After performing the above steps, restart AS.

Thanks
Siva

为了方便注册,你可以写一个批处理文件来完成。

你可能感兴趣的:(Active)