Modify

Opened 9 years ago

Closed 8 years ago

#1885 closed Feature Request (Rejected)

CreateGUID and CreateGUIDSequential missing, but $tagGUID there

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

I see you have
_WinAPI_StringFromGUID()
$tagGUID structure (but no documentation on how to use it)
_WinAPI_GUIDFromStringEx()
_WinAPI_GUIDFromString()

  1. please add documentation on how to use the $tagGUID structure. structures are poorly supported in AutoIt3 - I couldn't get any to work right when I used structures other than this in the latest version.
  1. please add win32's

RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
RPC_STATUS RPC_ENTRY UuidCreateSequential(UUID *Uuid);
RPC_ENTRY UuidCreateNil(UUID *Nil_Uuid);
signed int RPC_ENTRY UuidCompare(UUID *Uuid1,UUID *Uuid2,RPC_STATUS *Status);
int RPC_ENTRY UuidEqual(UUID *Uuid1,UUID *Uuid2,RPC_STATUS *Status);
unsigned short RPC_ENTRY UuidHash(UUID *Uuid,RPC_STATUS *Status);
int RPC_ENTRY UuidIsNil(UUID *Uuid,RPC_STATUS *Status);

although any program using UuidHash must be registered with the US Department of Commerce, exports division.

so maybe that particular function can be left out.

they probably have an A or W on the end of the function names in rpcss.dll or whatever dll it is, they are RPC functions.
it is probably one of these 3 system DLL's:
rpcns4.dll
rpcrt4.dll
rpcss.dll

these functions are extremely useful, especially for generating unique numbers/strings.

porting at the very least the create functions would be most beneficial to nearly everybody. and all ActiveX developers need a GUIDGEN.exe utility, and this would give them the ability to make one. why not include some code for a really simple one with a "generate" button and a maybe a text box and automatically copies the GUID string to the clipboard? you can put the example under the 2 guid create functions's help.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by TicketCleanup

  • Version 3.3.6.1 deleted

Automatic ticket cleanup.

comment:2 Changed 8 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

If someone wants to write and test a library that's fine but we are not going to do it. Closing as rejected.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.