Re: Starting project EuphoriaVista Interpreter
- Posted by jcmarsh1 Jan 03, 2009
- 1310 views
have you tried:
C:\> set EUVISTA=1 c:\> ex
I have not tried EUVISTA=1, appears to only be in the new source code. I will have to read up about it.
Yep, this sounds like a known issue. You can download a DEP enabled version of euphoria from the rapideuphoria.com archives already (by Shawn Pringle, the same person who is adding support to the main 4.0 branch).
I will look for it, and create a new test directory on my hard drive for it.
I have set environment var EUVISTA=1, and will be trying that shortly.
I have gotten Windowed Apps to work using Shawn Pringle's DEP include file. window.exw demo works perfectly, I even traced it to find out what it was doing. I added this code to the top of demo\win32\window.exw to get it working under Vista's DEP:
-- A Standard Windows Window coded at the primitive API level -- Most Euphoria programmers should simply use Win32Lib! --with trace trace(1) include std/os.e include std/machine.e include std/dll.e include xalloc4.e -- xalloc.e using std/* libraries for version 4.0 function call_back(object id) -- enable DEP denied API call_backs return xcall_back(id) end function
The scope of the call_back() function is local, so any call of it in this file will be redirected to xcall_back() which is safe for DEP. This program doesn't use any machine code, so I don't need the other global functions found in xalloc.e
BTW, I used the "May 4th, 2008" version of xalloc.e which is found in the demo directory of the dep.zip