1. EU and LIBs

posted by: shenpen at freemail.hu

Hello!

Is it possible in EU to call functions not from DLL's but from LIB's?
I asked an experienced programmer colleague of mine and he told that for an
interpreter written in ANSI C it's 99% probable that it's possible. If not, can
we ask Rob to make it possible?

If Euphoria would read LIB's, then we could use CCC routines in EU and *that*
would be a big thing.

CCC is a Hungarian-developed programming language, it stands for Clipper to C++
Compiler. It has database-indepented "table object" management functions that are
implemented for many database managers.

It means that if we could read CCC LIB's in EU then we could write EU programs
that can be ported, for example, from from DBF database to Linux or to Windows
MSSQL or MySQL or Btrieve without changing the code itself, only the include
file...

Best Regards,

Miklos Hollender
Budapest
Hungary

new topic     » topic index » view message » categorize

2. Re: EU and LIBs

Guest wrote:
> Is it possible in EU to call functions not from DLL's but from LIB's?
> I asked an experienced programmer colleague of mine and he told that 
 > for an interpreter written in ANSI C
 > it's 99% probable that it's possible.
 > If not, can we ask Rob to make it possible?
> 
> If Euphoria would read LIB's, then we could use CCC routines in EU and 
 > *that* would be a big thing.
> 
> CCC is a Hungarian-developed programming language, it stands for 
 > Clipper to C++ Compiler. It has database-indepented "table object"
 > management functions that are implemented for
 > many database managers.
> 
> It means that if we could read CCC LIB's in EU then we could write EU programs
>
 > that can be ported, for example, from from DBF database to Linux
 > or to Windows MSSQL or MySQL or Btrieve without changing the code 
itself,
 > only the include file...
> 
> Best Regards,
> 
> Miklos Hollender
> Budapest
> Hungary

The Euphoria language defines ways of calling only shared libraries
or DLLs. If you have the Interpreter source, you could extend
the interpreter .exe by linking it with routines in a static .LIB.
Perhaps you would add new machine_func()/proc() operations.
If you use the Translator, you could also link an application
with a .LIB, but you'd need to slightly edit the C code
produced by the Translator, by patching in calls to the .LIB.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu