Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to close opened files Pin
pavan_sw23-Jan-07 22:02
pavan_sw23-Jan-07 22:02 
AnswerRe: how to close opened files Pin
toxcct23-Jan-07 22:14
toxcct23-Jan-07 22:14 
GeneralRe: how to close opened files Pin
pavan_sw23-Jan-07 22:25
pavan_sw23-Jan-07 22:25 
GeneralRe: how to close opened files Pin
toxcct23-Jan-07 22:33
toxcct23-Jan-07 22:33 
QuestionRe: how to close opened files Pin
Roger Stoltz23-Jan-07 22:23
Roger Stoltz23-Jan-07 22:23 
AnswerRe: how to close opened files Pin
pavan_sw23-Jan-07 22:28
pavan_sw23-Jan-07 22:28 
AnswerRe: how to close opened files Pin
Roger Stoltz23-Jan-07 22:59
Roger Stoltz23-Jan-07 22:59 
GeneralRe: how to close opened files Pin
pavan_sw24-Jan-07 1:22
pavan_sw24-Jan-07 1:22 
Thanks roger,
yes, This is related to memory stick Thread.

Complete problem is as follows...

I am writing an win32 service application which gives access to memory stick in maintenance mode. In normal mode user can't access memory stick. The problem is when switching from maintenance to normal mode with memory stick connected to the system and if any files of memory stick is opened then iam not able disable the memory stick in normal mode. Because extenal process are using files on memory stick. So iam thinking to close all process which are using files on memory stick before disabling. Is my approch is correct??, If correct then how to identify processes which are currently using files on memory stick... Kindly do any help in this

Thanks
--pavan

GeneralRe: how to close opened files Pin
Roger Stoltz24-Jan-07 2:41
Roger Stoltz24-Jan-07 2:41 
AnswerRe: how to close opened files Pin
Waldermort23-Jan-07 22:36
Waldermort23-Jan-07 22:36 
QuestionContextMenu : First Item selected Pin
baerten23-Jan-07 21:42
baerten23-Jan-07 21:42 
AnswerRe: ContextMenu : First Item selected Pin
Nibu babu thomas23-Jan-07 21:53
Nibu babu thomas23-Jan-07 21:53 
GeneralRe: ContextMenu : First Item selected Pin
baerten23-Jan-07 22:12
baerten23-Jan-07 22:12 
GeneralRe: ContextMenu : First Item selected Pin
Nibu babu thomas23-Jan-07 22:18
Nibu babu thomas23-Jan-07 22:18 
Questionhelp Pin
Bravoone_200623-Jan-07 21:00
Bravoone_200623-Jan-07 21:00 
AnswerRe: help Pin
KKumarTG24-Jan-07 0:10
KKumarTG24-Jan-07 0:10 
AnswerRe: help Pin
S Douglas24-Jan-07 1:29
professionalS Douglas24-Jan-07 1:29 
QuestionApllication Error Pin
siddharthsan23-Jan-07 20:57
siddharthsan23-Jan-07 20:57 
AnswerRe: Apllication Error Pin
Cedric Moonen23-Jan-07 21:00
Cedric Moonen23-Jan-07 21:00 
GeneralRe: Apllication Error Pin
siddharthsan23-Jan-07 22:30
siddharthsan23-Jan-07 22:30 
AnswerRe: Apllication Error Pin
Don Box23-Jan-07 21:01
Don Box23-Jan-07 21:01 
GeneralRe: Apllication Error Pin
toxcct23-Jan-07 21:43
toxcct23-Jan-07 21:43 
GeneralRe: Apllication Error Pin
Don Box23-Jan-07 22:34
Don Box23-Jan-07 22:34 
GeneralRe: Apllication Error Pin
toxcct23-Jan-07 22:39
toxcct23-Jan-07 22:39 
GeneralRe: Apllication Error Pin
Don Box23-Jan-07 23:58
Don Box23-Jan-07 23:58 

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.