码迷,mamicode.com
首页 > 其他好文 > 详细

GUID 转 char *

时间:2014-08-27 23:09:58      阅读:342      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   ar   div   log   sp   c   ui   

 1     char pSubKey[MAX_PATH] = {0};
 2     sprintf(pSubKey, 
 3         "CLSID\\{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}\\InprocServer32", 
 4         IID_CMathStringFactory.Data1,
 5         IID_CMathStringFactory.Data2,
 6         IID_CMathStringFactory.Data3,
 7         IID_CMathStringFactory.Data4[0], 
 8         IID_CMathStringFactory.Data4[1],   
 9         IID_CMathStringFactory.Data4[2], 
10         IID_CMathStringFactory.Data4[3], 
11         IID_CMathStringFactory.Data4[4], 
12         IID_CMathStringFactory.Data4[5], 
13         IID_CMathStringFactory.Data4[6], 
14         IID_CMathStringFactory.Data4[7]);

 

GUID 转 char *

标签:style   blog   color   ar   div   log   sp   c   ui   

原文地址:http://www.cnblogs.com/luzhiyuan/p/3940420.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!