Question About The EWX_REBOOT

This is a discussion on Question About The EWX_REBOOT within the Windows Programming forums, part of the Platform Specific Boards category; hey guys its me again i have a question about the EWX_REBOOT function i tryed it on my computer but ...

  1. #1
    Registered User Joe100's Avatar
    Join Date
    Jul 2003
    Posts
    63

    Question About The EWX_REBOOT

    hey guys its me again i have a question about the EWX_REBOOT function i tryed it on my computer but the only thing i could use was EWX_LOGOFF
    "Be Quick Or Be Dead"

    [img]
    http://www.danasoft.com/sig/GU.jpg
    [/img]

  2. #2
    Registered User LogicError's Avatar
    Join Date
    Aug 2003
    Location
    г. Магнитогорск
    Posts
    76
    Whatever function you're using, i recommend the ExitWindowsEx()

  3. #3
    Registered User Joe100's Avatar
    Join Date
    Jul 2003
    Posts
    63
    ya thats what i am using exitwindowsex but the only value for that that works is log off im trying to get it to reboot or shutdown
    "Be Quick Or Be Dead"

    [img]
    http://www.danasoft.com/sig/GU.jpg
    [/img]

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Lets see the code.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    Registered User LogicError's Avatar
    Join Date
    Aug 2003
    Location
    г. Магнитогорск
    Posts
    76
    I think you have to use the EWX_FORCE too or something like that.. that forces all applications to close and reboot.. or something like that

  6. #6
    Registered User Joe100's Avatar
    Join Date
    Jul 2003
    Posts
    63
    well or u sure Force would reboot but they all r ment to force programs to shut down and then the computer to go off except for log off really this program is ment for my self and ive been hacked so many time its starting to agravate me so i want to c if this program will work the point of it is that when they take control of my computer or something i will send this program to them to completly shut them down using EWX_POWEROFF which will buy me some time it s a pretty good plan dont ya think so
    "Be Quick Or Be Dead"

    [img]
    http://www.danasoft.com/sig/GU.jpg
    [/img]

  7. #7
    Registered User LogicError's Avatar
    Join Date
    Aug 2003
    Location
    г. Магнитогорск
    Posts
    76
    hackers are NOT considered as elite programmers

  8. #8
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Actually, hacker was originally a term used for the very good programmers. Crackers are the bad ones.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  9. #9
    Registered User LogicError's Avatar
    Join Date
    Aug 2003
    Location
    г. Магнитогорск
    Posts
    76
    I read in a book that most of the programmers that fail to be good programmers, become hackers and virus writers.. dont know about you

  10. #10
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Exerpt
    In the late 1950s MIT students who loved to tinker with the university's gigantic early computers started calling themselves "hackers." At one stage being a hacker was a badge of honor conferred on an elite programmer or computer hardware designer.
    I think most of our modern day hackers and virus writers are 99% script kiddies, .75% people who tried to learn programming but failed, and .25% of bored programmers.

  11. #11
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    the point of it is that when they take control of my computer or something i will send this program to them to completly shut them down using EWX_POWEROFF which will buy me some time
    Uh, what?...

    "Hi, you just took control of my computer so i'm sending this email to you. Please execute the attachment. Have a nice day!"
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  12. #12
    Registered User Joe100's Avatar
    Join Date
    Jul 2003
    Posts
    63
    lmao
    "Be Quick Or Be Dead"

    [img]
    http://www.danasoft.com/sig/GU.jpg
    [/img]

  13. #13
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    There's an ExitWindowSex() command ?



    Programming languages these days.

  14. #14
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Originally posted by Hunter2
    Uh, what?...

    "Hi, you just took control of my computer so i'm sending this email to you. Please execute the attachment. Have a nice day!"
    I'm sure someone would fall for it.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  15. #15
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Well I'm not sure if this works (or if it works on all windows os) but:
    Code:
    system("c:\windows\rundll.exe shell32.dll,SHExitWindowsEx 8");
    put that if your program and then run it I don't feel like testing it right now
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 03:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 06:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 01:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 10:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21