Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: TerminateThread hangs Pin
Mark Salsbery23-Nov-07 15:22
Mark Salsbery23-Nov-07 15:22 
AnswerRe: TerminateThread hangs [modified] Pin
maciu202023-Nov-07 21:11
maciu202023-Nov-07 21:11 
GeneralRe: TerminateThread hangs Pin
Mark Salsbery24-Nov-07 7:04
Mark Salsbery24-Nov-07 7:04 
GeneralRe: TerminateThread hangs Pin
maciu202024-Nov-07 7:28
maciu202024-Nov-07 7:28 
GeneralRe: TerminateThread hangs Pin
Mark Salsbery24-Nov-07 8:06
Mark Salsbery24-Nov-07 8:06 
GeneralRe: TerminateThread hangs [modified] Pin
maciu202024-Nov-07 8:47
maciu202024-Nov-07 8:47 
GeneralRe: TerminateThread hangs Pin
Mark Salsbery24-Nov-07 9:42
Mark Salsbery24-Nov-07 9:42 
GeneralRe: TerminateThread hangs Pin
maciu202024-Nov-07 10:15
maciu202024-Nov-07 10:15 
Mark Salsbery wrote:
Isn't there a way to do what you're trying to do using
documented/supported APIs?

Unfortunately, there isn't.
What I'm doing is making Zoltan Csizmadia's ForceDel (a tool that deletes locked files) more usable. Improved performance (originally-very poor, especially when trying to delete multiple files), GUI, some more features.
AFAIK there are 2 ways of doing it. The first is what Zoltan does - enumerating all handles and closing the right ones with CreateRemoteThread(CloseHandle).
No documented API gives these handles...
There's one more method, implemented in Unlocker. It's not open source and I had no time to reverse it..but it's a kernel mode hack. I guess, a kind of hook...and I think it's even worse than what I'm working at. It works faster though and maybe I'll decide to try to do the same.
GeneralRe: TerminateThread hangs Pin
Mark Salsbery24-Nov-07 10:28
Mark Salsbery24-Nov-07 10:28 
GeneralRe: TerminateThread hangs Pin
maciu202024-Nov-07 22:27
maciu202024-Nov-07 22:27 
QuestionCan VC realize the localizable dialog ? Pin
BegtostudyBoy23-Nov-07 14:04
BegtostudyBoy23-Nov-07 14:04 
AnswerRe: Can VC realize the localizable dialog ? Pin
Nelek25-Nov-07 21:26
protectorNelek25-Nov-07 21:26 
GeneralRe: Can VC realize the localizable dialog ? Pin
BegtostudyBoy25-Nov-07 22:00
BegtostudyBoy25-Nov-07 22:00 
QuestionI have put PlaySound() in the View - and it dosent play any thing until at rest Pin
simon alec smith23-Nov-07 12:53
simon alec smith23-Nov-07 12:53 
QuestionRe: I have put PlaySound() in the View - and it dosent play any thing until at rest Pin
Mark Salsbery23-Nov-07 15:28
Mark Salsbery23-Nov-07 15:28 
AnswerRe: I have put PlaySound() in the View - and it dosent play any thing until at rest Pin
simon alec smith24-Nov-07 4:00
simon alec smith24-Nov-07 4:00 
GeneralRe: I have put PlaySound() in the View - and it dosent play any thing until at rest Pin
Mark Salsbery24-Nov-07 7:12
Mark Salsbery24-Nov-07 7:12 
QuestionMFC ON_COMMAND problem Pin
FredrickNorge23-Nov-07 10:19
FredrickNorge23-Nov-07 10:19 
QuestionRe: MFC ON_COMMAND problem Pin
Mark Salsbery23-Nov-07 10:23
Mark Salsbery23-Nov-07 10:23 
AnswerRe: MFC ON_COMMAND problem Pin
FredrickNorge23-Nov-07 10:27
FredrickNorge23-Nov-07 10:27 
GeneralRe: MFC ON_COMMAND problem Pin
Mark Salsbery23-Nov-07 10:32
Mark Salsbery23-Nov-07 10:32 
GeneralRe: MFC ON_COMMAND problem Pin
FredrickNorge23-Nov-07 10:46
FredrickNorge23-Nov-07 10:46 
GeneralRe: MFC ON_COMMAND problem Pin
Mark Salsbery23-Nov-07 11:00
Mark Salsbery23-Nov-07 11:00 
GeneralRe: MFC ON_COMMAND problem Pin
FredrickNorge23-Nov-07 11:41
FredrickNorge23-Nov-07 11:41 
QuestionVTBL Pin
IWannaTalk23-Nov-07 9:43
IWannaTalk23-Nov-07 9:43 

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.