Modify

#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 by TicketCleanup, on May 28, 2017 at 6:00:01 PM

Version: 3.3.14.0

Automatic ticket cleanup.

comment:2 by BrewManNH, on May 31, 2017 at 4:17:53 AM

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 by BrewManNH, on Jun 19, 2017 at 4:37:04 PM

Resolution: Rejected
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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