Re: Deeper into the Data

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

Hi Steve,

Interbase comes with a dll library that allows access to the DB server.  You
need to look at the header file(s) "*.h"  that define the routines for this
dll.

Then you have to write wrappers in Euphoria for each function that you want
to use from Euphoria.

First you have to open the dll library with a "dll_open" Euphoria command,
then link each function or procedure you wish to use with "define_c_func" or
"define_c_proc" Euphoria commands.
Then when you want to use the functions / procedures from the dll use
"call_proc" or "call_func" Euphoria commands.

You will also need to understand how to pass/receive Euphoria data to "C"
data structures.
Check out the library.doc doco that comes with Euphoria and read all about
the above commands.  Then check out any of the programs at the archive or
recent user contributions that use external libraries.  Win32lib as an
example.

Once you have done all that and you have any questions just ask again!

Ray Smith





> Hello All:
>
> I have been watching with great interest the progress of the language
known
> as EUPHORIA for some time.  especially the progress of late in the arena
of
> database developement. It has also come to my attention that Inprise
> (Borland) has open-sourced it's client/server product, Interbase(get your
> copy atBorland's site) I would be very thrilled to see the two worlds
> collied (I mean come together =o) ) perhaps along the line of the MySQL
> wrapper I've seen for Euphoria. I,m not as advanced as many of you are in
> developing this type of wrapper and thoughts on where to start would be
> mucho appreciated.
>
> New to the list.
> Steve

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

Search



Quick Links

User menu

Not signed in.

Misc Menu