rapi.dll problem in windows 7 - C#

一世执手 提交于 2019-12-14 03:57:28

问题


i work with OpenNETCF.Desktop.Communication.dll (RAPI) to connect

between PC and Windows mobile in my C# program.

in Windows xp it work's excellent, but in windows 7 i get this error:

Unable to load DLL 'rapi.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

in windows xp i install ActiveSync but in windows 7 i know that he is build in

what can be the problem ?


回答1:


Maybe this is a stupid answer, but did you install WMDC (Windows Mobile Device Center) on your Win7 PC? WMDC is the equivalent of ActiveSync on WinXP, and it will install the RAPI.DLL file.

Regards, Henk




回答2:


To debug DLL problems, use Dependency Walker (depends.exe). It can do both static and dynamic analysis of DLL dependencies.




回答3:


As Henk van Asselt said.
Installing Windows Mobie Device Center should solve problem.
You can also look for rapi.dll file in:
C:\Windows\System32



来源:https://stackoverflow.com/questions/1741473/rapi-dll-problem-in-windows-7-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!