作者gendou (PPP)
看板C_Sharp
標題[問題] 載入dll版本的判斷問題
時間Wed Dec 12 13:27:09 2007
想問一下大大
如果我寫個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)