Re: Deeper into the Data
- Posted by Ray & Debbie Smith <smithr at IX.NET.AU> Aug 27, 2000
- 472 views
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