1. RE: Help with plugin concept

Thanks, Derek, for the comprehensive reply. Naturally I had only considered
a small subset of plugin cases where the plugin author wanted to manipulate
the internal windows/controls global sequence, maybe add a menu and/or
menuitems to an already existing global Window and display information.
You've given me more to think about and I appreciate your advice.

Thanks to everyone else who offered suggestions.

In a later posting Derek stated that a *previously* compiled IDE would not
be able to use a new plugin using the trick suggested by Igor and Aku. I had
not thought about problems using the include method with an IDE that user
has previously compiled since I do not compile IDE myself. I certainly do
not want a user to have to recompile in order to use a new plugin..
~judith

new topic     » topic index » view message » categorize

2. RE: Help with plugin concept

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() ).

new topic     » goto parent     » topic index » view message » categorize

3. RE: Help with plugin concept

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() ).
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu