Implementing a simple plug-in architecture

Post your FreeBASIC source, examples, tips and tricks here. Please don’t post code without including an explanation.
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Implementing a simple plug-in architecture

Post by Imortis »

lizard wrote:But were these plugins programmed by others or the authors itself?
I personally programmed a couple plugins for FBEdit.
paul doe
Moderator
Posts: 1733
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: Implementing a simple plug-in architecture

Post by paul doe »

fxm wrote:Thank you for having add code to prevent these memory leaks.
No problem. I'm also a perfectionist ;)
paul doe
Moderator
Posts: 1733
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: Implementing a simple plug-in architecture

Post by paul doe »

lizard wrote:But were these plugins programmed by others or the authors itself?
I fail to see your point here. If you expose an interface (and document it if it's not self-documenting) then everyone should be able to code one...
srvaldez
Posts: 3379
Joined: Sep 25, 2005 21:54

Re: Implementing a simple plug-in architecture

Post by srvaldez »

obviously his point was that nobody other than the author of the program writes plugins for it, which he was proven wrong.
lizard
Posts: 440
Joined: Oct 17, 2017 11:35
Location: Germany

Re: Implementing a simple plug-in architecture

Post by lizard »

Writing plugins for ones own program can reduce filesize of the executable a bit, because unneeded plugins can be deactivated and unloaded. Then it has sense, thats right.
Post Reply