|
-
Sep 21st, 2006, 08:46 AM
#1
Thread Starter
New Member
problem with api of "exitwindowsex"
hi,
a while ago i wrote a program using api of exitwindowsex to shut the pc down at the time arranged by user. but the api turned the value of "0" which means api is not working, at the same time the process was cancelled by a program runs on the pc. could u pls help me with this issue? which or what kind of program may cause this problem?
-
Sep 21st, 2006, 09:31 AM
#2
Re: problem with api of "exitwindowsex"
Welcome to the forums. 
More information please.
Is this happening on all PCs running your program or just on one?
How do you know a program "cancelled" your program? What evidence do you have that this is the case?
-
Sep 21st, 2006, 09:36 AM
#3
Thread Starter
New Member
Re: problem with api of "exitwindowsex"
first of all, thank you for welcoming me.
i used a msgbox to know the turning value from the process. i had read that from a book that was written in my country where said that if the process fails, the turning value is 0. and there was an explanation saying that its cause of a program runs in pc. the program worked for 1-2 times in my pc. but no longer. it only shuts the all programs running, but not the pc
-
Sep 22nd, 2006, 03:52 PM
#4
-
Sep 22nd, 2006, 05:47 PM
#5
Thread Starter
New Member
Re: problem with api of "exitwindowsex"
codes are completely running. by the way i wrote another batch file in DOS to do same process but its not working also. i mean it works same as this api
-
Sep 23rd, 2006, 06:26 AM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|