Re: Dll's

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

Paul Martin writes:
> Also a question for Robert Craig. Are you going to ever install
> code into Euphoria that will allow for easier access to DLL's and
> possibly eliminate the need for wrappers.

When you call a routine written in one language from a routine
written in a very different language, with very different data types,
I think it's inevitable that you will have some awkwardness.

Once a "wrapper" Euphoria routine has been written, the
awkwardness goes away, since you can call the Euphoria routine
just like any other Euphoria routine. In setting up a call to a
C routine, you must (unfortunately) understand something about
C declarations.

The situation is very similar in DOS32, where you set up a
call to a DOS software interrupt. The mechanism is a bit ugly,
but you only have to figure it out once, and then you and others
can simply call the Euphoria "wrapper" routine.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu