Modify

Opened 16 years ago

Closed 16 years ago

#1321 closed Bug (Fixed)

DllStruct Element Name Limits

Reported by: mleo2003@… Owned by: Valik
Milestone: 3.3.1.7 Component: Documentation
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

I couldn't find this any where in the documentation, but DllStructCreate and the related functions do have a limit to what characters can be used for an element name. So far, we found the following letters are allowed:

A-Z,a-z,0-9

(There are more, but for brevity sake, I'll only list these.)

I had 2 questions about this limit. Why does the element names not allow underscores while C structs allow them for names, and can we add these limits to the DllStructCreate (and possibly others) help entries? A few DllStructs I have been trying to use from MSDN contain underscores, and it took some experimenting to discover why my code kept failing with improper Struct variables, until I finally took out the underscores from the names on a hunch.

The forum post where I asked about this is here:

http://www.autoitscript.com/forum/index.php?showtopic=106027

Attachments (0)

Change History (1)

comment:1 by Valik, 16 years ago

Milestone: 3.3.1.7
Owner: set to Valik
Resolution: Fixed
Status: newclosed

Fixed by revision [5434] in version: 3.3.1.7

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.