EVC下将LPBYTE转换成LPWSTR,谢谢!
LPBYTE lpByte;
如何转化为LPWSTR类型呢?
[解决办法]
temp=m_Ctrl.InsertItem(i,NameBuffer,ImageDWORD);
m_Ctrl.SetItemText (temp,1,_T( "REG_DWORD "));
strData.Format(_T( "%x "),*((LPDWORD)lpData));
while(strData.GetLength () <8)
strData= "0 "+strData;
swprintf(DataBuffer,_T( "0x%s(%ld) "),strData,*((LPDWORD)lpData));
m_Ctrl.SetItemText (temp,2,DataBuffer);