Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
QuestionDispose a thread? Pin
verlinden.nick@telenet.be23-Aug-07 9:07
verlinden.nick@telenet.be23-Aug-07 9:07 
AnswerRe: Dispose a thread? Pin
Judah Gabriel Himango23-Aug-07 13:01
sponsorJudah Gabriel Himango23-Aug-07 13:01 
GeneralRe: Dispose a thread? Pin
ChrisKo23-Aug-07 13:08
ChrisKo23-Aug-07 13:08 
GeneralRe: Dispose a thread? Pin
verlinden.nick@telenet.be24-Aug-07 2:27
verlinden.nick@telenet.be24-Aug-07 2:27 
AnswerRe: Dispose a thread? Pin
Luc Pattyn23-Aug-07 14:02
sitebuilderLuc Pattyn23-Aug-07 14:02 
GeneralRe: Dispose a thread? Pin
verlinden.nick@telenet.be24-Aug-07 2:31
verlinden.nick@telenet.be24-Aug-07 2:31 
GeneralRe: Dispose a thread? Pin
Luc Pattyn24-Aug-07 2:43
sitebuilderLuc Pattyn24-Aug-07 2:43 
GeneralRe: Dispose a thread? Pin
verlinden.nick@telenet.be24-Aug-07 9:08
verlinden.nick@telenet.be24-Aug-07 9:08 
Hi Luc!

I'm trying not to give too much information away Big Grin | :-D , but i know that i will have too, so here it goes. I have multiple desktops "desktops as in windows desktops, not computers, for example winlogon is also a desktop (winlogon is the desktop where the alt+CTRL+DELETE window is shown)" when the user presses a key on the keyboard, it switches to antoher desktop. But since the keyboard hook is only valid in the desktop where it is being launched, so i have to abort the thread in the previous desktop and launch a new thread in the new desktop, else the user can't switch back to the previous one. if the user switches back to the previous one, the routine repeats. the problem is that the thread that was listening on the previous desktop does not release its used memore, well that's what i think at least. It has unmanaged code for the keyboard hooks.

Is that helpfull?
Kind Regards,
Nick Verlinden
GeneralRe: Dispose a thread? Pin
Luc Pattyn24-Aug-07 16:06
sitebuilderLuc Pattyn24-Aug-07 16:06 
GeneralRe: Dispose a thread? Pin
verlinden.nick@telenet.be25-Aug-07 2:04
verlinden.nick@telenet.be25-Aug-07 2:04 
QuestionContextMenuStrip and DataGridView Pin
FernandoMartin23-Aug-07 9:01
FernandoMartin23-Aug-07 9:01 
AnswerRe: ContextMenuStrip and DataGridView Pin
Judah Gabriel Himango23-Aug-07 13:08
sponsorJudah Gabriel Himango23-Aug-07 13:08 
Questionconvertion from pdf file into jpeg Pin
adilkazmi23-Aug-07 8:45
adilkazmi23-Aug-07 8:45 
AnswerRe: convertion from pdf file into jpeg Pin
Sebastien Lachance23-Aug-07 9:04
Sebastien Lachance23-Aug-07 9:04 
GeneralRe: convertion from pdf file into jpeg Pin
adilkazmi23-Aug-07 9:09
adilkazmi23-Aug-07 9:09 
AnswerRe: convertion from pdf file into jpeg Pin
Dave Kreskowiak23-Aug-07 11:00
mveDave Kreskowiak23-Aug-07 11:00 
GeneralRe: convertion from pdf file into jpeg Pin
adilkazmi23-Aug-07 11:15
adilkazmi23-Aug-07 11:15 
GeneralRe: convertion from pdf file into jpeg Pin
Colin Angus Mackay23-Aug-07 12:21
Colin Angus Mackay23-Aug-07 12:21 
GeneralRe: convertion from pdf file into jpeg Pin
Thomas Stockwell25-Aug-07 2:49
professionalThomas Stockwell25-Aug-07 2:49 
QuestionData Grid View Column Headers Pin
jasper01823-Aug-07 7:47
jasper01823-Aug-07 7:47 
AnswerRe: Data Grid View Column Headers Pin
FernandoMartin23-Aug-07 8:45
FernandoMartin23-Aug-07 8:45 
GeneralRe: Data Grid View Column Headers Pin
jasper01823-Aug-07 9:03
jasper01823-Aug-07 9:03 
GeneralRe: Data Grid View Column Headers Pin
jasper01823-Aug-07 9:06
jasper01823-Aug-07 9:06 
AnswerRe: Data Grid View Column Headers Pin
Sebastien Lachance23-Aug-07 8:49
Sebastien Lachance23-Aug-07 8:49 
GeneralRe: Data Grid View Column Headers Pin
jasper01823-Aug-07 9:04
jasper01823-Aug-07 9:04 

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.