С??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