Modify

Opened 15 years ago

Closed 15 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 Changed 15 years ago by Valik

  • Milestone set to 3.3.1.7
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5434] in version: 3.3.1.7

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 owner will remain Valik.
Author


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

 
Note: See TracTickets for help on using tickets.