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