TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: MICHAEL RATHBURN
date: 1998-01-14 09:57:00
subject: WinExec()

Hi All , hope you are having a nice day
Can some explain why my BCBuilder compiler says the argument
SW_SHOWMAXIMIZE is undefined in a Call to winexec();
I have called it Like WinExec("pbrush.exe" ,SW_SHOWMAXIMIZE);
 Am I using the right function ?
 I am trying to make a menu that executes windows programs when you click
 on a button and control the state of the window ie: minimised maximised or
 normal. I have consulted the help file which reveals Zilch. searched the
 online manuals on my Borland C++ CD another Zilch :-(
 I have included stdlib.h but i'm not sure if it needs it.
 -=> Yours sincerely, Michael Rathburn <=-
... AARRGGHH. I'll kill myself. I quoted 6%!
~~~ Tag-O-Matic V.13 ! I recognise the Green Frog.
--- Terminate 5.00/Pro 
---------------
* Origin: Terminate has most advertising origin lines ;-) (2:250/124.19)

SOURCE: echomail via exec-pc

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™.