1. Help !!
- Posted by mhance at harris.com Jun 06, 2003
- 392 views
OK. This may sound trivial but really, I'm stuck ... I am using Windows EU program to display some data from specialized equipment. The equipment has DOS commands which can return the data. Up to now, I've been "piping" the data from the DOS command line into files, or the screen ( via more ). Now I want to "pipe" this into my EuWin program for a better GUI display and possible user interaction, logging, sorting, etc. I have found that I can "pipe" into a EuDOS program ( which reads from standard input like using > data=getc(0) < as a the input mechanism ) with no problems. But not so with a similar type Eu Win program. I then figured, well I'll pipe it into the EuDOS program, which I can then share with the Eu WIN program. This is the REAL problem I am trying to solve. Anyone have any ideas about how to share /pass data from a EuDOS prog into a EuWIN prog ? I was thinking about using direct mem access, but I have found no way to put the data from the EuDOS into a specific mem address location every time, so that the EUWIN could peek into this location everytime ... Any ideas outthere ? Michael
2. Re: Help !!
- Posted by Elliott Sales de Andrade <quantum_analyst at hotmail.com> Jun 06, 2003
- 389 views
The reason why you can't re-direct Windows Euphoria programs, run in EXW, is that EXW.exe hass a GUI subsystem. This means it will always open a new window, and cannot be re-directed the same way. In oder to do this, you will need to change your interpreter to be a Console program. Use the first program listed here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?win=on&keywords=setsubsys >From: mhance at harris.com >Subject: Help !! > > >OK. This may sound trivial but really, I'm stuck ... > >I am using Windows EU program to display some data from specialized >equipment. > >The equipment has DOS commands which can return the data. Up to now, I've >been >"piping" >the data from the DOS command line into files, or the screen ( via more ). > >Now I want to "pipe" this into my EuWin program for a better GUI display >and >possible >user interaction, logging, sorting, etc. > >I have found that I can "pipe" into a EuDOS program ( which reads from >standard >input like >using > data=getc(0) < as a the input mechanism ) with no problems. But >not so >with a similar type Eu Win program. I then figured, well I'll pipe it into >the >EuDOS program, which I can then >share with the Eu WIN program. This is the REAL problem I am trying to >solve. >Anyone have any ideas about how to share /pass data from a EuDOS prog into >a >EuWIN prog ? I was thinking about using direct mem access, but I have found >no >way to put the data from the EuDOS into a specific >mem address location every time, so that the EUWIN could peek into this >location >everytime ... > >Any ideas outthere ? > >Michael > > > >TOPICA - Start your own email discussion group. FREE! > >