Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

taskexists problem on DELL Desktop running XP

Status
Not open for further replies.

mmcmahan

Programmer
Mar 8, 2006
1
US
The sample code below takes ~12sec to change state on DELL Desktops (GX260/GX270 P4) running Windows XP (only... 2K is OK). Once the EXE has terminated and is delisted from TaskMgr, ASPECT will not see the TskIdn go to zero for 12 seconds! Does anyone know WHY or WHERE to fix this problem. Altering "compatabilty" does nothing

run "some.exe" TskIdn

while taskexists TskIdn
yield
endwhile

Other P4 (non DELL Desktops) XP machines do not behave this way, including DELL notebooks with XP. Very strange. Any clues would be appreciated.

Cheers,
mmcmahan
 
Is it possible some DLL or module is having problems terminating/unloading/etc. on these particular machines? Do you have a development environment where this can be monitored more closely? That is the only reason I can think of off the top of my head.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top