积极答复者
VB调用dll释放资源时报错

问题
答案
-
你好
這可能是可能DLL或EXE檔之間, DLL相依的版本不符
或者你可以嘗試再次找找有沒有另一個DLL 可以 加入到你的程序上
看看能不能解決這個問題
Chi- 已标记为答案 Mike FengModerator 2011年7月20日 12:13
-
除了ChiYau 提供的方案外, 你还可以试试 System.Runtime.InteropServices.Marshal.ReleaseComObject(你引用的DLL对象) 释放掉该dll对象再关闭,看是否仍有错.
Mike Feng [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Mike FengModerator 2011年7月20日 12:13
全部回复
-
你好
這可能是可能DLL或EXE檔之間, DLL相依的版本不符
或者你可以嘗試再次找找有沒有另一個DLL 可以 加入到你的程序上
看看能不能解決這個問題
Chi- 已标记为答案 Mike FengModerator 2011年7月20日 12:13
-
除了ChiYau 提供的方案外, 你还可以试试 System.Runtime.InteropServices.Marshal.ReleaseComObject(你引用的DLL对象) 释放掉该dll对象再关闭,看是否仍有错.
Mike Feng [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Mike FengModerator 2011年7月20日 12:13