python中調用動態連接庫(C++,DLL)

 1, 動態連接庫編譯 使用VS2015建立「Win32項目」,選擇應用程序類型爲「DLL」,建立項目完成後,頭文件中:python #ifdef EXT_DEC_EXPORTS函數 #define EXT_DEC_API __declspec(dllexport)spa #elserest #defineEXT_DEC_API __declspec(dllimport)orm #endifx
相關文章
相關標籤/搜索