Re: Jeremy Self

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

On Fri, Jan 31, 2003 at 04:56:33PM -0800, David Cuny wrote:
> 
> jbrown wrote:
> 
> > I thought about wrapping Winelib for Euphoria once ... until I realized
> > that Winelib programs are compiled into libraries and then linked with the
> > Wine program loader.
> 
> For all intents, you may just as well run it under Wine (which does work).
> 
> -- David Cuny

The real problem, is that, you can only do exu natively w/o Windows emulation
in it, or exw.exe via Wine, without any support for the native POSIX/UNIX
calls.

However, I believe I have come across another solution:

native exu under Linux/FreeBSD, but, also have windll.eu, which defines
open_win_dll(), define_win_func(), define_win_proc(), and define_win_var(),
as well as call_win_proc(), call_win_func(), set_win_var(), and get_win_var().
(Also will need to support make_win_call_back(), but thats rather tricky.)

Then, in windll.eu, it runs a "program" through wine, which I'll call winux.exe,
which calls LoadLibrary() and GetProcAddress() and etc., for the caller.

Of course, I'm still trying to work through the details of this (for example,
the method of communication to be used, and how to pass things like structs
or array from/to the Windows dll routines), but if I can get it to work,
it'd theoreticly be possible to port Euphorian Windows programs to Linux/FreeBSD
without a majpr hassle.

I realize this is major overkill, however I'd rather do this than mess with the
Wine sources and create from it a shared library which exports every emulated
WinAPI function.

jbrown

> 
> ==^^===============================================================
> This email was sent to: jbrown1050 at hotpop.com
> 
> 
> TOPICA - Start your own email discussion group. FREE!

-- 
 /"\  ASCII ribbon              | 
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   |

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

Search



Quick Links

User menu

Not signed in.

Misc Menu