系統環境:VC6 + Python-2.5.4
1、下載Python-2.5.4源碼。
2、解壓,打開D:/Python-2.5.4/PC/VC6/pcbuild.dsw,編譯,D:/Python-2.5.4/PC/VC6/下得到python25.dll、python25_d.dll、python25.lib、python25_d.lib。
3、使用VC6建立一個動態鏈接庫工程,拷貝D:/Python-2.5.4/PC/example_nt/example.c到工程目錄下,并添加到工程中。
4、設置工程。
5、編譯。
6、嘗試調用:
新聞熱點
疑難解答
圖片精選