RE: A Euphoria DLL?

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

> -----Original Message-----
> From: Bernie Ryan [mailto:xotron at localnet.com]

> Jonas:
>   There is no way to create a dll without a compiler.
>   The reason is that it has to be able to interface
>   with the operating system and must be structured in a
>   certain way.

The same could be said for a normal executable, I think.  Why couldn't you
have a 'binddll' the same as the regular bind?  It would be more
complicated, but not not impossible.  Here's what it might look like (of
ocurse, I'm speculating on how a bound program works, but...):

All of the Eu code could be 'included' in the startup case for LibMain.
Then you'd need to expose the global routines.  This could be done by having
the bind utility create a stub that effectively links to the routine_id's of
the global routines.  The hard part IMHO is figuring out the structure of
the stub.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu