BetaArchive Logo
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 0d, 15h, 10m | CPU: 44% | MEM: 1964MB of 3063MB 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
Offline

Joined
Fri Sep 01, 2006 10:04 pm

Posts
1022

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

Favourite OS
Rhapsody, BeOS
Hello,
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....

_________________
Image
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
Donator
Offline

Joined
Sat Aug 19, 2006 1:25 am

Posts
590

Location
Israel
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 6 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-2018

 

Sitemap | XML | RSS