Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Right click menu support added for the contact list and search results.
[xestiaab/.git]
/
source
/
common
/
uuid.cpp
diff --git
a/source/common/uuid.cpp
b/source/common/uuid.cpp
index
f3603b1
..
c0e512f
100644
(file)
--- a/
source/common/uuid.cpp
+++ b/
source/common/uuid.cpp
@@
-4,6
+4,7
@@
wxString GenerateUUID()
{
#if defined(__WIN32__)
{
#if defined(__WIN32__)
+#include <rpc.h>
UUID UUIDData;
UuidCreate(&UUIDData);
wchar_t* UUIDStr = 0;
UUID UUIDData;
UuidCreate(&UUIDData);
wchar_t* UUIDStr = 0;
@@
-36,6
+37,9
@@
wxString GenerateUUID()
pclose(uuid_hdl);
pclose(uuid_hdl);
+ Result = wxString::Format(wxT("%s"), uuidout);
+ Result.Trim();
+
#endif
return Result;
#endif
return Result;
@@
-49,4
+53,4
@@
bool CheckUUID(wxString UUIDInc)
return Result;
return Result;
-}
\ No newline at end of file
+}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy