While posting the last question I did not try any normal script like
$n=15;
while($n>0)
{
print "$n,";
$n--;
sleep(1);
}
I tried to execute the above perl script and locked the user session...
I had thought that I can not execute any perl script if the user session is locked in the middle of execution.
But, It worked as usual without any extra code...,
There was no output when i locked the session, as i locked the session before the next second.
The output seen when I unlocked the session:
C:\Pradeep>perl test.pl
15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,
C:\Pradeep>
If a normal script is running fine in those conditions then there might be a way where i can change the code or code pattern or add some code to the existing code which uses the win 32 functions and can be executed successfully in the condition I mentioned above.
Thanks...
Pradeep Krishna :)