在哪里可以找到用于获取通话记录 (PhoneOpenCallLog) 的 Phone.dll 文件?
我在计算机上找不到 Phone.dll 文件并收到 Can't find PInvoke DLL 'Phone.dll'。
在哪里可以找到 Phone.dll 文件?
I can't find Phone.dll file on my computer and getting Can't find PInvoke DLL 'Phone.dll'.
Where will I find Phone.dll file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不是您“找到”的 DLL。它随设备一起提供,并烘焙到 ROM 中。它位于 |Windows 文件夹中,并且很可能是一个隐藏文件,这意味着您可能无法使用设备上的资源管理器看到它,尽管远程文件查看器会显示它。
但是,如果 ap/invoke 调用没有找到它,则它很可能不存在。您具体针对什么类型的设备?显然,并非所有 WinMo 设备都是电话设备,因此如果不是电话设备,DLL 将不会出现。我也不相信它存在于模拟器中。
It's not a DLL that you "find". It is shipped on the device, baked into the ROM. It would be in the |Windows folder, and most likely a hidden file, meaning that you probably can't see it using the on-device explorer, though the Remote File Viewer will show it.
If a p/invoke call is not finding it, however, it's likely that it's not there. What type of device, specifically, are you targeting? Obviously not all WinMo devices are phone devices, so if it's not a phone device the DLL won't be present. I don't believe it's present in the emulator either.