TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Doug Swenson
from: Gordon Weakliem
date: 1994-09-17 14:24:24
subject: Re: Active thread

-=> Quoting Doug Swenson to All <=-

 DS> I'm just getting into OS/2 pgmg w/ BC++.  I have an pgm that
 DS> doesn't get past the WinCreateStdWindow, but OS/2 or PM still has
 DS> control of the .exe file. When I try to re-compile/link, the linker
 DS> gives me a bogus error.  When I try to delete the existing .exe file,
 DS> I get an access denied msg, in both a VDM and an OS/2 window. When I
 DS> try to find the pgm with a WindowList, is doesn't show up. 
 DS> Is there a way to detect and kill this errant program?  Currently I
 DS> have to do a shutdown to get access to the .exe file: not a fast
 DS> procedure. 

There's several shareware utilities that allow one to kill a process.  I
like PM Patrol, available via anonymous ftp from ftp.cdrom.com, in
/pub/os2/2_x/utilities (I think).  If you cd to /pub/os2, there should be
a large text file called 00index.txt with a complete catalog of everything
in that directory tree.

I had a similar problem to yours, using WinLoadDlg to create an app that
used a modeless dialog for its interface.  Check the handle to the
window for NULL and exit with an error if it is, so you won't have to
kill it manually.

... Catch the Blue Wave!
--- Blue Wave/Max v2.12 OS/2 [NR]

* Origin: * MacSavvy * Dallas * Mac * OS/2 * (214)250-4479 * (1:124/1208)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 124/1208 1111 1 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/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™.