1.重启AS(ActiveSync)或者电脑——要关掉AS需要打开Windows任务管理器,关掉wcescomm.exe这个进程。
(如果发现还没有DMA端口就再用以下方法)
2. 卸载AS,然后再重新安装。
(如果还没有DMA端口就再用以下方法)
3.注册以下文件:
a. devicemulator.exe /register
b. dvcemumanager.exe /register
c. regsvr32 deviceemulatorproxy.dll
d. regsvr32 deviceemulatorbootstrap.dll
e. regsvr32 serdmaasplugin.dll
上面提到的devicemulator.exe /dvcemumanager.exe /deviceemulatorproxy.dll/serdmaasplugin.dll 文件都在C:\Program Files\Microsoft Device Emulator\1.0文件夹下;
deviceemulatorbootstrap.dll 在C:\Program Files\Microsoft Visual Studio 8\SmartDevices\Emulators\DeviceEmulator文件夹下。
完成以上步骤,重启电脑。
——Siva
我只用到一项——只是注册了regsvr32 serdmaasplugin.dll 再重启就发现DMA了,我的是AS4.5版本的,各人的情况不同,必要的话全部注册完。
这里顺便讲一下注册方法:(以我注册regsvr32 serdmaasplugin.dll为例)
1、打开C盘(一般都在C盘)搜索文件serdmaasplugin.dll,你会在C:\program files\microsoft device emulator\1.0中找到 SERDMAAsPlugin.dll ,找到后记住该文件的路径。
2、点“开始”再点“运行”,输入cmd。
3、然后找到该路径,键入"C:\program files\microsoft device emulator\1.0",就跳转到了该路径。
4、输入 Regsvr32 SERDMAAsPlugin.dll 后回车就可将该文件注册,之后会提示注册成功。
5、重启AS,发现了DMA。
浙公网安备 33010602011771号