1. Displaying C compiled .ex programs in a window

I have some programs written with edita and saved with the .ex extension.
When run from edita or by clicking on the file name they run in a DOS window
of limited size.  However when compiled with EC.EXE and Watcom the resulting
.exe
file runs in full screen (black) mode, and the lettering is huge!

1. Is it possible to code something to restrict the size of the wiwdow after
compiling?
2. Is it possible to change the properties (size and colour) of the DOS window
from
within a .ex program (bk_color() only changes written text)?

I refer to text mode with Windows XP

I,m not sure that DOS window is the correct term, but its the one opened by
Euphoria .ex programs and puts(1, ) or print(1, ).

Thanks in advence for any feedback,

jaybeedee.

new topic     » topic index » view message » categorize

2. Re: Displaying C compiled .ex programs in a window

JAYBEEDEE wrote:
> I have some programs written with edita and saved with the .ex extension.
> When run from edita or by clicking on the file name they run in a DOS window
> of limited size.  However when compiled with EC.EXE and Watcom the resulting
> .exe
> file runs in full screen (black) mode, and the lettering is huge!
> 
> 1. Is it possible to code something to restrict the size of the wiwdow after
> compiling?
> 2. Is it possible to change the properties (size and colour) of the DOS window
> from
> within a .ex program (bk_color() only changes written text)?
> 
> I refer to text mode with Windows XP
> 
> I,m not sure that DOS window is the correct term, but its the one opened by
> Euphoria .ex programs and puts(1, ) or print(1, ).

I build ex.exe using Watcom 10.6 (several years old version).
That's why it runs DOS programs in a small window.
DOS programs compiled with the newer open source
versions of Watcom seem to always pop up to a full size window.
I don't think we ever figured out a good way to avoid that.
If your program does not use DOS pixel graphics, you could
try running it with exwc.exe (console mode for Windows).

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu