小??QA???
???????????? ???????[ 2013/4/10 13:11:54 ] ????????
???????????????????????????????????????械????????????make sense???
??????????斜??校??????????
??????????
???????COM????????????????????????????????????????????????????????????????????????????????渭??????????COM?????
1: Type comType = Type.GetTypeFromProgID("COM ProgID");
2: object comObj = System.Activator.CreateInstance(comType);
3: Type[] t = comType.GetInterfaces();
4:
5: object x=comType.InvokeMember("MethodName"?? BindingFlags.InvokeMethod?? null?? comObj?? new object[3] { null??null??null});
6: MethodInfo[] method = comType.GetMethods();
7: if (method != null)
8: {
9:
10: }
??????谐??????2???????????????????????????????COM????????????????????
?????????????????????????薪??????????????????
??????????
??????????
???????COM????械??????????????????????????????????????????????fake????????????COM???????????????????????魏蔚????????????????????????????????COM??????????
????????????????
??????????????????????????????????????COM?????????????????????????????????????????????????????????味??COM????????????????未??????????????????????????未???????????
????????????review?????????????????????try catch???????????????????????????????????邪?????try catch block????????????????????????????????????娌�?????????????????写???like??
????utilDebug.Log(.....)
????????????????????
????????????????????utilDebug???????????
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11