Euphoria DLLs

new topic     » topic index » view thread      » older message » newer message

Hi Rob, hi all,

I'm considering buying the Eu2C translator.
The main reason is at the moment, that I'd like to write a plugin for
the Total Commander (formerly known as Windows Commander,
http://www.ghisler.com/). The plugin is technically just a DLL.

In the description of the plugin API, there is for instance:
int __stdcall ProcessFile (HANDLE hArcData, int Operation, char*DestPath,
   char *DestName)

That looks to me, as if my DLL must be able to exchange addresses, i.e.
*32*-bit integer values with the Total Commander (floating point values
are not requiered at all). But in "e2c.htm" (Eu 2.4 Beta), it reads:
"Euphoria .dlls (.so's) can be used by C programs as long as only 31-bit
integer values are exchanged."
So is it not possible to write a plugin for the Total Commander (and
probably for many other commercial programs) with Euphoria?

I already created a test version of that DLL with the Public Domain
Translator (using the Borland C++ Compiler 5.5 on Windows 98), and
interestingly it works! Does this just happen by chance, because the
Total Commander maybe up to now only sended 31-bit values to my DLL, or
can this DLL be considered reliable?
How big are the chances that a future version of the translator will
create DLLs (and SOs) that exchange 32-bit integer values with C
programs?

The Total Commander is well known, and translated to many languages.
Because I also will release the DLL source code, then there probably
would be a link from http://www.ghisler.com/plugins.htm to Euphoria's
'Recent User Contributions' Page. So I think writing such a plugin would
not only be useful for users of Total Commander, but also make Euphoria
better known all over the world.

Best regards, and Happy Easter,
   Juergen

-- 
 /"\  ASCII ribbon campain  |
 \ /  against HTML in       |  Money is the root of all evil.
  X   e-mail and news,      |  Send 20 Dollars for more info.
 / \  and unneeded MIME     |

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu