【问题标题】:Simple windows dll with function I can wrap具有我可以包装的功能的简单 Windows dll
【发布时间】:2013-01-23 11:16:40
【问题描述】:

我希望通过包装来自 windows dll 的函数来测试 python 的 ctypes。是否有可以在 windows vista 上使用的 windows dll 进行测试?例如,也许 dll 有一个以字符串形式返回当前时间的函数。

如果没有,我想我将不得不用 C 和 Visual Studio Express 编写自己的 dll。

【问题讨论】:

    标签: windows dll


    【解决方案1】:

    最容易包装的是消息框函数:它实际上是 dll 包装的 hello-world。它住在user32.dll。看看here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-08-09
      • 1970-01-01
      • 1970-01-01
      • 2019-10-30
      • 2013-04-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多