文件名称:vc MFC获得uuid或GUID
文件大小:4.89MB
文件格式:ZIP
更新时间:2018-03-24 16:06:29
mfc
CString CTestGetUUIDDlg::newGUID() { CString buf; GUID guid; if (S_OK == ::CoCreateGuid(&guid)) { buf.Format(_T("{X-X-x-XX-XXXXXX}") , guid.Data1 , guid.Data2 , guid.Data3 , guid.Data4[0], guid.Data4[1] , guid.Data4[2], guid.Data4[3], guid.Data4[4], guid.Data4[5] , guid.Data4[6], guid.Data4[7]); } return buf; }
【文件预览】:
TestGetUUID
----TestGetUUID.suo(10KB)
----TestGetUUID()
--------stdafx.cpp(142B)
--------Resource.h(528B)
--------res()
--------stdafx.h(2KB)
--------TestGetUUID.aps(42KB)
--------TestGetUUID.h(471B)
--------targetver.h(1KB)
--------TestGetUUID.vcproj(5KB)
--------TestGetUUID.rc(5KB)
--------TestGetUUIDDlg.cpp(4KB)
--------TestGetUUIDDlg.h(655B)
--------TestGetUUID.cpp(2KB)
--------TestGetUUID.vcproj.USER-20140520XP.HungryGoogle.user(1KB)
--------Debug()
--------ReadMe.txt(3KB)
----TestGetUUID.ncb(11.98MB)
----TestGetUUID.sln(899B)
----Debug()
--------TestGetUUID.exe(57KB)
--------TestGetUUID.pdb(3.07MB)