[問題] 載入dll版本的判斷問題
想問一下大大
如果我寫個plugin 程式 需要引用到主程式的api
主程式1.0 版 api.dll
主程式2.0 版 api.dll
可是在2.0的api.dll 提供的方法是1.0 api dll 所沒有的
有可能我在coding時候 去判斷 runtime載入的dll版本嗎?
譬如
if (api.dll ver =2.0){
call 2.0 api function();
}else{
doSomething();
}
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.225.65.198
※ 編輯: gendou 來自: 125.225.65.198 (12/12 13:33)
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):