RE: Help with plugin concept
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Feb 13, 2004
- 666 views
Derek Parnell wrote: > > > > From: Judith Evans [mailto:camping at txcyber.com] > > > > I've been working on a plugin for IDE as a test of concept. > > You have some important design considerations to settle on first. > > > The "load" method means that the plugin cannot be Euphoria code AND > run in the same process space as the IDE. If you want it to run in > the IDE's process, it needs to be a runtime-loadable file such as a > DLL. You could use my WinDLL library (www.rapideuphoria.com/windll.zip) to accomplish this. You'll need to add your IDE API to the list of functions and procedures in windll.ew and windll_c.ew, plus add the wrapper in windll_c.ew. Let me know if you have questions. One interesting effect of this is that you can develop the plug-in by adding an include file within the IDE, and then take it out and compile, and it should run the same (assuming that you've initialized all routines and all accessed variables through retrieve() ). Matt Lewis