[SOLVED] Convert API_Guid to GS::UniString or char array
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-12-16
05:45 AM
- last edited on
‎2023-08-01
01:56 PM
by
Doreena Deng
‎2014-12-16
05:45 AM
Hi
I need to send Element guid to web service.
Here guid is a struct
Please advise.
I need to send Element guid to web service.
Here guid is a struct
struct API_Guid { UInt32 time_low; unsigned short time_mid; unsigned short time_hi_and_version; unsigned char clock_seq_hi_and_reserved; unsigned char clock_seq_low; unsigned char node[6]; }How I can convert API_Guid to UniString or char array.
Please advise.
Labels:
- Labels:
-
Add-On (C++)
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-12-16 06:38 AM
‎2014-12-16
06:38 AM
GS::Guid::ConvertToString()
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-12-16 01:59 PM
‎2014-12-16
01:59 PM
ggiloyan wrote:Solution:
How I can convert API_Guid to UniString or char array.
API_Guid apiGuid = ... char guidStr[64]; APIGuid2GSGuid (apiGuid).ConvertToString (guidStr);
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-12-17 07:15 AM
‎2014-12-17
07:15 AM
Thanks