Click here to Skip to main content
15,911,306 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: delete line in the file Pin
Randor 17-Mar-08 10:17
professional Randor 17-Mar-08 10:17 
AnswerRe: delete line in the file Pin
specialhaha17-Mar-08 19:53
specialhaha17-Mar-08 19:53 
GeneralInline assembly in VC++ 6.0 Pin
hxhl9517-Mar-08 7:20
hxhl9517-Mar-08 7:20 
GeneralRe: Inline assembly in VC++ 6.0 Pin
Randor 17-Mar-08 8:53
professional Randor 17-Mar-08 8:53 
GeneralRe: Inline assembly in VC++ 6.0 [modified] Pin
hxhl9517-Mar-08 9:20
hxhl9517-Mar-08 9:20 
GeneralRe: Inline assembly in VC++ 6.0 Pin
Randor 17-Mar-08 10:07
professional Randor 17-Mar-08 10:07 
GeneralRe: Inline assembly in VC++ 6.0 Pin
hxhl9517-Mar-08 10:39
hxhl9517-Mar-08 10:39 
GeneralRe: Inline assembly in VC++ 6.0 Pin
Randor 17-Mar-08 10:53
professional Randor 17-Mar-08 10:53 
hxhl95 wrote:
What I'm trying to do is to completely STOP everything.


Microsoft Windows is not designed to shutdown instantly. There are things which need to be cleaned up like disk cache and virtual memory. In fact even if you wrote a device driver which executed the instructions I have written in the prior threads and managed to initiate an instant cold/warm reboot; You would have a probability of file corruption which may or may not include the registry. In fact, you would also have a high risk of disk corruption on non-journaling file systems and a small risk on journaling file systems. There are manyb things that are happening 'under the hood' when you shutdown Microsoft Windows.

Some questions:

1.) Why dows your application need to be the last to exit.
2.) Do you need your application to be the last 'user' application to exit?

Best Wishes,
-David Delaune
GeneralRe: Inline assembly in VC++ 6.0 Pin
hxhl9517-Mar-08 11:17
hxhl9517-Mar-08 11:17 
GeneralRe: Inline assembly in VC++ 6.0 Pin
Randor 17-Mar-08 11:51
professional Randor 17-Mar-08 11:51 
GeneralRe: Inline assembly in VC++ 6.0 Pin
hxhl9517-Mar-08 17:01
hxhl9517-Mar-08 17:01 
GeneralRe: Inline assembly in VC++ 6.0 Pin
Randor 17-Mar-08 18:21
professional Randor 17-Mar-08 18:21 
QuestionRe: Inline assembly in VC++ 6.0 Pin
David Crow17-Mar-08 16:56
David Crow17-Mar-08 16:56 
GeneralRe: Inline assembly in VC++ 6.0 Pin
Randor 17-Mar-08 9:09
professional Randor 17-Mar-08 9:09 
QuestionGetting variable information inside a template struct Pin
HorrorVision17-Mar-08 6:02
HorrorVision17-Mar-08 6:02 
GeneralRe: Getting variable information inside a template struct Pin
Chris Losinger17-Mar-08 7:23
professionalChris Losinger17-Mar-08 7:23 
GeneralChange writing direction in edit box RTL / LTR [modified] Pin
Joseph Marzbani17-Mar-08 5:56
Joseph Marzbani17-Mar-08 5:56 
QuestionRe: Change writing direction in edit box RTL / LTR Pin
David Crow17-Mar-08 6:02
David Crow17-Mar-08 6:02 
GeneralUSB Port Identification Pin
koumodaki17-Mar-08 5:18
koumodaki17-Mar-08 5:18 
GeneralRe: USB Port Identification Pin
Cedric Moonen17-Mar-08 5:36
Cedric Moonen17-Mar-08 5:36 
Generalerror LNK2005: & warning LNK4006: Pin
ptr_Electron17-Mar-08 3:51
ptr_Electron17-Mar-08 3:51 
GeneralRe: error LNK2005: & warning LNK4006: Pin
toxcct17-Mar-08 4:18
toxcct17-Mar-08 4:18 
GeneralRe: error LNK2005: & warning LNK4006: Pin
ptr_Electron17-Mar-08 4:34
ptr_Electron17-Mar-08 4:34 
GeneralRe: error LNK2005: & warning LNK4006: Pin
David Crow17-Mar-08 4:24
David Crow17-Mar-08 4:24 
Generalconverting LPCWSTR to char[] [modified] Pin
vineeshV17-Mar-08 3:36
vineeshV17-Mar-08 3:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.