[問題] cpp檔如何編成dll?

看板C_and_CPP (C/C++)作者 (洗屁一哥)時間14年前 (2012/03/06 18:38), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) visual 2005 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 就是我有一專案檔 xxx.vcproj 和 原始程式碼檔 xxx.cpp 因為要餵給labveiw使用 所以需要編成dll檔 我不知道包好的vcproj檔 要怎樣編成dll 還是直接對xxx.cpp檔下手就好 如果要直接把xxx.cpp編dll 請問要怎麼編才可以 餵入的資料(Input): 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版) 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.128.83.63

03/06 19:05, , 1F
project檔去調整設定,改成動態連結函數庫就可以了
03/06 19:05, 1F

03/06 19:08, , 2F
專案property => general => 右邊Configuration Type
03/06 19:08, 2F
文章代碼(AID): #1FLUaYn8 (C_and_CPP)
文章代碼(AID): #1FLUaYn8 (C_and_CPP)