Re: network tools
- Posted by Ad Rienks <Ad_Rienks at COMPUSERVE.COM> Oct 25, 1997
- 914 views
Mike Burrell proposes: > data =3D {} > fn =3D open("blah.exe", "rb") > tempo =3D gets(fn) > while sequence(tempo) do > data =3D data & tempo > tempo =3D gets(fn) > end while > addr =3D allocate(length(data)) > poke(addr, data) > call(addr) > something like that? although i would personally do a system() Robert Craig answered: >No, it's not that easy. A .exe file is not just a bunch of machine code.= >There's other information in there too. Loading a .exe into memory >and running it is fairly complicated. >Regards, > Rob Craig >Rapid Deployment Software What Mike proposes, is possible with .com files, I think. Assemblers can produce .com files, but I don't know if C(++) or other compilers can. But= in that case a system() call from Euphoria would still be preferable. Ad_Rienks at compuserve.com