Click here to Skip to main content
15,792,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DeviceIoControl to lock drive is not working Pin
Code-o-mat22-Oct-09 6:52
Code-o-mat22-Oct-09 6:52 
GeneralRe: DeviceIoControl to lock drive is not working Pin
Patcher3222-Oct-09 14:13
Patcher3222-Oct-09 14:13 
GeneralRe: DeviceIoControl to lock drive is not working Pin
David Crow22-Oct-09 7:20
David Crow22-Oct-09 7:20 
GeneralRe: DeviceIoControl to lock drive is not working Pin
Code-o-mat22-Oct-09 7:34
Code-o-mat22-Oct-09 7:34 
GeneralRe: DeviceIoControl to lock drive is not working Pin
David Crow22-Oct-09 7:56
David Crow22-Oct-09 7:56 
AnswerRe: DeviceIoControl to lock drive is not working Pin
Patcher3222-Oct-09 14:44
Patcher3222-Oct-09 14:44 
GeneralRe: DeviceIoControl to lock drive is not working Pin
Covean22-Oct-09 21:59
Covean22-Oct-09 21:59 
GeneralRe: DeviceIoControl to lock drive is not working Pin
Patcher3223-Oct-09 20:22
Patcher3223-Oct-09 20:22 
If I lock with (BYTE)TRUE : works
If I unlock a locked device using (BYTE)FALSE : works
If I try to unlock a device (without locking it first) using (BYTE)FALSE : gives error #22, The device does not recognize command

I think this is expected behavior. Please guide me in right direction if I am doing it wrong.
QuestionRenaming file in C++ failing Pin
StrayGrey22-Oct-09 4:58
StrayGrey22-Oct-09 4:58 
QuestionRe: Renaming file in C++ failing Pin
David Crow22-Oct-09 5:06
David Crow22-Oct-09 5:06 
AnswerRe: Renaming file in C++ failing Pin
StrayGrey22-Oct-09 5:20
StrayGrey22-Oct-09 5:20 
AnswerRe: Renaming file in C++ failing Pin
Michael Schubert22-Oct-09 5:12
Michael Schubert22-Oct-09 5:12 
GeneralRe: Renaming file in C++ failing Pin
StrayGrey22-Oct-09 5:17
StrayGrey22-Oct-09 5:17 
GeneralRe: Renaming file in C++ failing Pin
Michael Schubert22-Oct-09 5:22
Michael Schubert22-Oct-09 5:22 
GeneralRe: Renaming file in C++ failing Pin
StrayGrey22-Oct-09 6:08
StrayGrey22-Oct-09 6:08 
AnswerRe: Renaming file in C++ failing Pin
David Crow22-Oct-09 7:05
David Crow22-Oct-09 7:05 
AnswerRe: Renaming file in C++ failing Pin
Richard MacCutchan22-Oct-09 5:50
mveRichard MacCutchan22-Oct-09 5:50 
AnswerRe: Renaming file in C++ failing Pin
StrayGrey22-Oct-09 6:10
StrayGrey22-Oct-09 6:10 
QuestionDelaying Shutdown through windows service and executing scripts ? Pin
Kushagra Tiwari22-Oct-09 3:45
Kushagra Tiwari22-Oct-09 3:45 
QuestionRe: Delaying Shutdown through windows service and executing scripts ? Pin
David Crow22-Oct-09 4:02
David Crow22-Oct-09 4:02 
QuestionRe: Delaying Shutdown through windows service and executing scripts ? Pin
Randor 22-Oct-09 4:08
professional Randor 22-Oct-09 4:08 
GeneralRe: Delaying Shutdown through windows service and executing scripts ? Pin
Kushagra Tiwari22-Oct-09 4:24
Kushagra Tiwari22-Oct-09 4:24 
QuestionRe: Delaying Shutdown through windows service and executing scripts ? Pin
Randor 22-Oct-09 4:30
professional Randor 22-Oct-09 4:30 
AnswerRe: Delaying Shutdown through windows service and executing scripts ? Pin
Kushagra Tiwari22-Oct-09 4:39
Kushagra Tiwari22-Oct-09 4:39 
GeneralRe: Delaying Shutdown through windows service and executing scripts ? Pin
Randor 22-Oct-09 4:49
professional Randor 22-Oct-09 4:49 

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.