1. 程式人生 > >fatal error LNK1107: 檔案無效或損壞: 無法在 0x2C8 處讀取

fatal error LNK1107: 檔案無效或損壞: 無法在 0x2C8 處讀取

LNK1107

無論使用QtCreator 或者 VS2015載入動態庫出現LNK1107: 檔案無效或損壞: 無法在 0x2C8 處讀取
參考連結:
1、https://blog.csdn.net/life_is_too_hard/article/details/51553791
2、https://blog.csdn.net/liu_cheng_ran/article/details/7520869

原因是在專案右鍵->屬性->配置屬性->連結器->附加依賴項時,錯把.lib字尾寫出了.dll

VS2015呼叫dll

參考連結:
1、https://jingyan.baidu.com/article/4d58d54135d7a79dd4e9c0ad.html

步驟1.

步驟2.