С??QA???
???????????? ???????[ 2013/4/10 13:11:54 ] ????????
??????????utilDebug???й?????????????????pinvoke???????????????????dll?????????utilDebug???????е??????????native dll?С?
???????????????????dev????ι??????utilDebug??checkin????????????????????????changelist history????????????μ?????
1: [DllImport("utilDebug.dll"?? CharSet=CharSet.Unicode)?? SuppressUnmanagedCodeSecurity]
2: private static extern void DebugLogEx(System.Int32 iCategory?? System.String szFilename?? System.Int32 iLine?? System.String sLog);
3:
4: private static extern bool IsDebugEnabled();
?????????????????????????????????????????????????????????????IsDebugEnabled????????????native dll???????extern?????????DllImport??attribute???
???????????????????????????????????????????μ???????????????????й?????utiDebug??????????????????????????????????????????????????????????????????????????ó??????????????????????????????IsDebugEnabled?????????????
??????????????????????£?
1: [DllImport("utilDebug.dll"?? CharSet=CharSet.Unicode)?? SuppressUnmanagedCodeSecurity]
2: private static extern void DebugLogEx(System.Int32 iCategory?? System.String szFilename?? System.Int32 iLine?? System.String sLog);
3:
4: [DllImport("utilDebug.dll"?? CharSet = CharSet.Unicode)?? SuppressUnmanagedCodeSecurity]
5: private static extern bool IsDebugEnabled();
??????build????????????????build??????????????????????????????磩????????????????????dev????????????????????????????????????????????????????????????????????????????????????????native??c++???????????????????????????????????????????????????????????????????????????????????????knowledge???????????????????й?????????????????extern C{}?????????????????IsDebugEnabled?????????????????????????dev??dev?е???????????????????stackoverflow??£????????????????
????http://stackoverflow.com/questions/8534917/export-dll-method-from-c-to-c-why-i-need-extern-c
????????????????
?????????????????????build?????????????????????????????????????IsDebugEnabled??????????????????????????????????????????????????
???????????????????
????????????????dev???????????κ????????????checkin???????QA??????????????????????????????????????????????е????????dev lead??code review??????checkin??build????в??????????????????????????????????QA????????????????dev????????????????????????????????????????Σ???????????????????
??????????????????????н??????????????????????????
???????£????????????????????http://www.cppblog.com/mzty/archive/2006/09/05/12041.html??
???????????????????6?????????
????????Щ????????滯????????????????????????????????????????????????????????????????????????????з?????????????????????????????????????磬?????????????????????δ?????????????????????????????????????Щ????????????????????????????????????Ч?????????????????
????????????????????????????????????????????????????????????????????????
??????????
??????????????http://www.cnblogs.com/dancewithautomation/archive/2012/09/05/2671620.html
??????
???·???
??????????????????
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