TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: Andrew MacIntyre
date: 1993-11-07 18:24:56
subject: windows spawning dos

On Nov 05 1993 (08:55), Paul Edwards of 3:711/934{at}fidonet wrote:

 PE> If I write a windows application and I want to spawn zip, 
 PE> which writes output using printf, what should I do?

 PE> I'm still after anyone to tell me what trick people use to 
 PE> make thinks like a lharc self-extracting archive print into 
 PE> a window in plain dos, rather than taking up the whole 
 PE> screen.  Thanks + bye.

Create a PIF, which has the appropriate settings, then WinExec (I think
this is the one) the PIF.  If necessary, use a batch file, which your app
writes on the fly, instead of the executable in the PIF.  With a bit of
work (see the Undocumented Corner in DDJ a coupla months ago), you could
write the PIF on the fly ....

Regards, Andrew.

--- Msgedsq 2.2e

* Origin: What a Coherent Point! Canberra, Oz (3:620/243.18)
SEEN-BY: 50/99 54/54 99 620/243 250 252 622/405 623/630 711/401 409 430 807
SEEN-BY: 711/808 809 932 934 712/623 627 713/888 714/906 800/1
@PATH: 620/243 54/54 99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.