BetaArchive Logo
Navigation Home Database Screenshots Gallery Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 35d, 15h, 59m | CPU: 93% | MEM: 5335MB of 8191MB used
{The community for beta collectors}

Forum rules

Any off topic discussions should go in this forum. Post count is not increased by posting here.
FTP Access status is required to post in this forum. Find out how to get it

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPost subject: Windows Vista x64 and Shutting Down        Posted: Fri Sep 14, 2007 10:46 pm 
Reply with quote
FTP Access
User avatar

Fri Sep 01, 2006 10:04 pm


The Ephemeral between existance and non-existance: AKA "being"

Favourite OS
Rhapsody, BeOS
I am writting a program where it shuts down the computer at some point. My problem is that during debugging it actually shuts my computer down...

Does anybody know how in Visual Studios 2005 C# it is possible so that the shutdown actually doesn't get carried out during debugging...

I thought about crippling the shutdown meathod during testing but I wouldn't like that solution very much....

Part Time Troll - HPC Enthusiast - Spelling Master - Old Fart

Top  Profile  WWW
 PostPost subject:        Posted: Sat Sep 15, 2007 10:18 am 
Reply with quote

Sat Aug 19, 2006 1:25 am


Surround it in an #ifdef __DEBUG__ or some C# equivalent, and, possibly, make it show a message box instead.

Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2020


Sitemap | XML | RSS