Modify

Opened 8 years ago

Closed 8 years ago

#3554 closed Feature Request (Rejected)

Ini functions should be documentated as containing limitations

Reported by: lwc Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: fileread, ini Cc:

Description

There's an old feature request #15 about fixing the various limitations of the Ini functions (what's not mentioned there is that they sometimes throw an @error when their target is called Autoinf.inf).

But I have a different feature request - just document the fact that there are limitations, to avoid confusion.

Do functions like FileRead not suffer from such limitations because they are custom made by AutoIt, while Ini functions use Windows API? If so, mention this officially. For example:

IniReadSectionNames

Remarks
Note that Ini functions rely on Windows API which suffers from various limitations.
This situation shall remain as Microsoft asked to use other storage methods.
Custom UDFs that bypass the limitations can be found on AutoIt's forums.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by TicketCleanup

  • Version 3.3.14.0 deleted

Automatic ticket cleanup.

comment:2 Changed 8 years ago by BrewManNH

I'm fairly certain that the only limitation on reading an INI file is in reading a whole section, not the names of the sections. The limitation is already in the help file for IniReadSection. There's also another limitation in INI files that they're supposedly only capable of holding around 38K of data.

INF files are not INI files, although they're formatted alike. INI files have no structure other than sections and key/value pairs. INF files are used for installing software or drivers and have a set structure.

comment:3 Changed 8 years ago by BrewManNH

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

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.