1. How To: Running Eu code from a shrouded EXE?
- Posted by "David Jarvis" <davidj at ultrasmart.org> Jan 30, 2005
- 403 views
- Last edited Jan 31, 2005
Dear members I'd like to run Eu code located in a *separate* include file from a shrouded EXE (DOS) (or compiled EXE if necessary). Anyone with ideas on how I can do this? Note: 1. The include file contains Eu code, not just data. 2. The code in the file can change between "runs". 3. Does not have to be an include file that holds the code, can be a text file, code held in a Eu database etc 4. The purpose of creating the code in the "separate" include file is to speed up some code .... so if the method needed to then "run" that code from a shrouded EXE significantly slows down normal execution speed for the code, then ...... no real gains .... so no benefit in doing it. P.S. I have had a look at David Cuny's Resource Files (1999), but these seem to only relate to ways of storing and retrieving data, not code that will then run. Thanks -- David
2. Re: How To: Running Eu code from a shrouded EXE?
- Posted by CoJaBo <CoJaBo_EUforum_Address at CJBN.net> Jan 31, 2005
- 396 views
David Jarvis wrote: > > Dear members > > I'd like to run Eu code located in a *separate* include file from a > shrouded EXE (DOS) (or compiled EXE if necessary). > > Anyone with ideas on how I can do this? > > Note: > 1. The include file contains Eu code, not just data. > 2. The code in the file can change between "runs". > 3. Does not have to be an include file that holds the code, can be a > text file, code held in a Eu database etc > 4. The purpose of creating the code in the "separate" include file is > to speed up some code .... so if the method needed to then "run" that > code from a shrouded EXE significantly slows down normal execution > speed for the code, then ...... no real gains .... so no benefit in > doing it. > > P.S. I have had a look at David Cuny's Resource Files (1999), but > these seem to only relate to ways of storing and retrieving data, not > code that will then run. > > Thanks > > -- > David This can be done to some extent using an "eval()" command. If there aren't any in the archive, you can make one using the 2.5 PD Euphoria source code. > > CoJaBo "If two trains leave Boston heading in opposite directions, one going 80MPH the other going 90MPH, how long will it be until ANYONE CARES!!!" -- Me [1010] << Supposed to be a computer QWERTY Laptop Athlon 64 3700+ 2.4Ghz, 2GB RAM, 100GB HDD, NVIDIA GeForce4 440 Go 64M Video card, 1920x1200 Resolution LCD