gpt4 book ai didi

c# - 使用 ActiveSync 注册 RAPI 程序?

转载 作者:太空狗 更新时间:2023-10-29 23:16:55 27 4
gpt4 key购买 nike

根据 Microsofts documentation,我正在尝试编写一个程序,该程序将在连接 Windows Mobile 设备时运行。为此,我们必须:

If you want your RAPI application to automatically execute when a Windows Mobile device connects to the desktop computer, do not put your application in StartUp or allow it to autorun. Instead, register it to be automatically run by ActiveSync upon device connection. For more information, see MSDN.

我该如何实现?

最佳答案

设置注册表值

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect

来源: http://pocketnow.com/tweaks-hacks/how-to-automatically-start-a-pc-application-on-device-connect-disconnect

关于c# - 使用 ActiveSync 注册 RAPI 程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10425297/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com