问题描述
我已经用与Process.MainModule.FileName有关的此错误搜索了google,但是没有错误消息链接,仅ReadProcessMemory或WriteProcessMemory请求的一部分已完成".这些论坛上的主题提示存在64位问题,但很快就被排除在外,因为在32位环境中也有报道.该线程的标记答案表明这是一个安全问题,但是我认为与映射到``干净''项目有关的任何内容都没有更改.
- 如果是安全性问题,则可以尝试在调试器下运行应用程序". 处理.MainModule失败
- "If it is a security problem, you may try to run your application under the debugger" Process.MainModule failure
I have searched google with this error in relation to Process.MainModule.FileName however none link with the error message, "Only part of a ReadProcessMemory or WriteProcessMemory request was completed".
There however was one thread on these forums suggest a 64 bit issue however that was soon excluded as it was reported also in a 32 bit enviroment. The marked answer to that thread suggested it is a security problem however I don't think anything has been changed in relation to that comapred to a 'clean' project.
我正在通过Visual Studio对该应用程序进行实际调试,因此我不确定在诊断此问题的过程中下一步该怎么做.
我正在在64位环境中使用32位进行调试,因为关于DirectX兼容性问题,如果有人对我如何能够更改安全设置"(假设上面引用的内容是正确的)有任何想法以允许这样做,将不胜感激.
谢谢
I am in-fact debugging this application through Visual Studio so I am not quite sure what to do next in the process of diagnosing this problem.
I am debugging using 32 bit in a 64 bit enviroment because of DirectX compatability issues, if anyone has any ideas on how I may be able to alter the 'security settings' (assuming what is quoted above is correct) to allow this it would be greatly appreciated.
Thanks
推荐答案
这篇关于Process.MainModule.FileName:“仅一部分ReadProcessMemory或WriteProcessMemory请求已完成".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!