Re: (confused noob) How do I make the EUINC variable in XP?
- Posted by Matt Lewis <matthewwalkerlewis at gma?l?com> Sep 18, 2007
- 829 views
CLJ wrote: > > The problem = a "unable to allocate memory" error occurrence, when I enter > "exwc > rundemos". > > WHAT AM I DOING WRONG? Sorry, I'd missed where you said this before. For some reason, it's not able to allocate memory. The most obvious possible cause of this is that there is no memory available. I suspect this is not the case here. Another possibility might be DEP (Data Execution Prevention). I found some possibly helpful information from this thread: http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=4&fromYear=B&toMonth=6&toYear=B&postedBy=&keywords=dep Go to Control Panel System Advanced Performance -> Settings Data Execution Prevention Click "Turn on DEP for essential Windows programs and services only" And that is that, you must restart I think. DEP catches Euphoria because the call_back actually just runs code, in memory that doesn't have execute permissions, but the processors never checked before now, turning it off makes it work still, but it really should be fixed, HINT HINT maybe all memory allocated in euphoria should have execute permissions by default, that would fix it. Another poster in the thread noted that he only had to add exw.exe (you'll also want to add exwc.exe) to the whitelist. The errors that the other person was getting aren't exactly what you're seeing, so this might not be the same problem that you're getting. Have you been able to run other euphoria programs? Try going to %EUDIR%\DEMO and run: > exwc sanity.ex ...and please let us know what happens. This is a program that tests most euphoria functionality, so if there is some other problem, sanity.ex will hopefully help us to diagnose it. Matt