Do I risk corrupting a program if I end-task it?

This is a discussion on Do I risk corrupting a program if I end-task it? within the C++ Programming forums, part of the General Programming Boards category; ----^---- ---/|\--- ----|----...

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Question Do I risk corrupting a program if I end-task it?

    ----^----
    ---/|\---
    ----|----

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Well, if it happens to be accessing a resource that is not completely internal (file, network connection, etc), then there could be corruption of that data, but you can't corrupt your application is you end-task it (assuming it wasn't rewriting itself or something to that effect).

    I'm not entirely sure if I answered your question. Please elaborate if I did not.

    Cheers
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Yes, that awnsered my question. But I have a different one as well:
    What if a program was running when the computer shut down due to a power surge?

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    33
    nothing should happen, windows software is designed to fix errors after an unexpected shutdown, if your running 98 or lower, than the usual blue screen scanning for errors should run, but 2000 and above keep the system from program errors that may interfere with the boot up, unless there is a virus.

  5. #5
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Same deal. If you were writing to a file or something, there may be issues with your file.

    Cheers
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  2. Another weird error
    By rwmarsh in forum Game Programming
    Replies: 4
    Last Post: 09-24-2006, 10:00 PM
  3. program not working...please look at this
    By JOlszewski in forum C Programming
    Replies: 3
    Last Post: 01-30-2006, 09:33 PM
  4. Letting a program run as a task ( background )
    By GanglyLamb in forum C# Programming
    Replies: 5
    Last Post: 12-01-2005, 07:52 AM

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