RE: Help with plugin concept
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Feb 13, 2004
- 512 views
Making a Euphoria dll is really pretty simple. Check out e2c.htm in the Euphoria docs. From the command line: > ecw -wat -dll myfile.ew (translates the Euphoria code to C) > emake (a batch file that builds the DLL for you) I typically use Open Watcom 1.0, but it's something like a 50MB download. You could also use Borland, which is only about 8MB. Matt Lewis Judith wrote: > > > Ok, I've downloaded and will take a peek. I know nothing about > compiling or making a DLL though. Which compiler is the best for > someone who doesn't know C to use and/or for use with Euphoria code? > ~judith > > Matt Lewis wrote: > 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() ). > >