简体   繁体   English

我可以使用 python 读取 windows 应用程序 (c++) 的给定变量吗?

[英]Can I read a given variable of a windows application (c++) with python?

I have a c++ application.我有一个 c++ 应用程序。 I need to read a variable of this.我需要读取这个变量。 I have a source code as well, so I know the name of the variable.我也有源代码,所以我知道变量的名称。 Can I read this variable of the program or I have to add something to source code?我可以读取程序的这个变量还是必须在源代码中添加一些东西?

The answer, as they wrote, in this form is not possible.正如他们所写的那样,这种形式的答案是不可能的。 A suggested solution in an earlier post: Communication between C++ and Python上一篇文章中的建议解决方案: C++ 和 Python 之间的通信

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM