【发布时间】:2020-12-05 03:57:35
【问题描述】:
我用这个来源制作了一个 .pyd 文件:
def hello():
print("Hello world")
我想从 rundll32(或任何一般的 C 代码)运行 hello()
我尝试了rundll32 hello.pyd,hello() 和rundll32 hello.pyd,hello,但都没有成功
我也查看了C代码,没有发现任何有用的东西
【问题讨论】:
-
我还将 pyx 编译为 dll 看看是否会有所作为,但没有