How to get GUID
Hi All,
How do i get the current GUID ?
i need to get the GUID, format it in a string and then display it.
[124 byte] By [
Ekalavya] at [2007-11-19 19:40:38]

# 2 Re: How to get GUID
Hi All,
How do i get the current GUID ?
i need to get the GUID, format it in a string and then display it.
Read this : GUID / MAC Address -- UuidCreate (http://groups.google.co.in/group/microsoft.public.vc.mfc/browse_thread/thread/1367bd2d68439f35/f47925c90e56e6db%23f47925c90e56e6db?sa=X&oi=groupsr&start=1&num=3) more info about UuidCreate... :)
# 5 Re: How to get GUID
This should work
GUID Guid;
CoCreateGuid(&Guid);
RPC_WSTR str;
UuidToString((UUID*)&Guid, &str);
CString unique((LPTSTR)str);
AfxMessageBox(unique);
kolkoo at 2007-11-10 23:47:16 >
