Opened 18 years ago

Last modified 14 years ago

#263 closed Feature Request

Drop PluginOpen()/PluginClose() in favor of an #import statement — at Version 7

Reported by: Valik (inspired by Zedna) Owned by: Jon
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description (last modified by Valik)

One idea is to drop PluginOpen() and PluginClose() and use a pre-processor statement like #import. This removes the load-on-demand functionality of plugins but also removes the need to clean up when done using the plugin (since it's not cleaned up until the script terminates).

Change History (7)

comment:1 by TicketCleanup, 18 years ago

Version: 3.2.10.0

Automatic ticket cleanup.

comment:2 by Jon, 18 years ago

Owner: set to Jon
Status: newaccepted

comment:3 by Valik, 17 years ago

Could somebody please explain what this ticket is about? The title is vague and the text assumes prior knowledge of some list I don't remember.

in reply to:  3 comment:4 by Zedna, 17 years ago

Replying to Valik:

Could somebody please explain what this ticket is about? The title is vague and the text assumes prior knowledge of some list I don't remember.

Here is copy of original old AutoIt TODO list:
http://www.autoitscript.com/forum/index.php?s=&showtopic=12701&view=findpost&p=224110

Briefly said:
Plugins - #include architecture menat that instead of PluginOpen(some_plugin.dll) should be something like #include "some_plugin.dll"

It should be similar to including a3x files in current AutoIt.

comment:5 by Zedna, 17 years ago

typo in previous post: menat = meant

comment:6 by Zedna, 17 years ago

Here are old ToDo lists taken from AutoIt website:

Attachments can't be placed in Track due to spam restrictions so I uploaded them to AutoIt forum Chat here:

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

comment:7 by Valik, 17 years ago

Description: modified (diff)
Reporter: changed from Zedna to Valik (inspired by Zedna)
Summary: Plugins - #include architectureDrop PluginOpen()/PluginClose() in favor of an #import statement

Alright, I'm updating the the ticket to reflect what I think the request should be.

Note: See TracTickets for help on using tickets.