CString to GUID
-
How I can convert CString to GUID ? Ex :
CString str = "{EB533751-63E2-46c4-B0C7-F83157180BB6}"; GUID guiFromStr = ?
Thanks, Ohad -
How I can convert CString to GUID ? Ex :
CString str = "{EB533751-63E2-46c4-B0C7-F83157180BB6}"; GUID guiFromStr = ?
Thanks, OhadSee there http://msdn2.microsoft.com/en-us/library/aa379336.aspx[^]. Please note the Requirements section. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
See there http://msdn2.microsoft.com/en-us/library/aa379336.aspx[^]. Please note the Requirements section. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
Thanks !
-
See there http://msdn2.microsoft.com/en-us/library/aa379336.aspx[^]. Please note the Requirements section. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
USBInterface.obj : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8 DLL/Debug/USBDetectorD.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
-
USBInterface.obj : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8 DLL/Debug/USBDetectorD.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
you have to use
Rpcrt4.lib
as stated in the Requirements section of the MSDN page. (MenuProject->Settings
, select theLink
, addRpcrt4.lib
in theObject/Library modules
textbox). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
USBInterface.obj : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8 DLL/Debug/USBDetectorD.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
Specify the Rpcrt4.lib in the project settings->Link->object/library modules
nave [OpenedFileFinder]
-
USBInterface.obj : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8 DLL/Debug/USBDetectorD.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
Link to Rpcrt4.lib.
-
How I can convert CString to GUID ? Ex :
CString str = "{EB533751-63E2-46c4-B0C7-F83157180BB6}"; GUID guiFromStr = ?
Thanks, OhadThanks you all. Its working OK.