Click here to Skip to main content
15,925,661 members
Home / Discussions / C#
   

C#

 
GeneralRe: CreateThread Pin
Bassam Saoud7-Jan-06 10:18
Bassam Saoud7-Jan-06 10:18 
GeneralRe: CreateThread Pin
Dave Kreskowiak7-Jan-06 13:53
mveDave Kreskowiak7-Jan-06 13:53 
GeneralRe: CreateThread Pin
leppie8-Jan-06 0:11
leppie8-Jan-06 0:11 
GeneralRe: CreateThread Pin
Dave Kreskowiak8-Jan-06 2:49
mveDave Kreskowiak8-Jan-06 2:49 
GeneralRe: CreateThread Pin
Bassam Saoud8-Jan-06 8:05
Bassam Saoud8-Jan-06 8:05 
GeneralRe: CreateThread Pin
Bassam Saoud8-Jan-06 8:08
Bassam Saoud8-Jan-06 8:08 
GeneralRe: CreateThread Pin
Dave Kreskowiak8-Jan-06 13:17
mveDave Kreskowiak8-Jan-06 13:17 
GeneralRe: CreateThread Pin
Bassam Saoud8-Jan-06 21:23
Bassam Saoud8-Jan-06 21:23 
I needed a quick answer to a quick question!

I am working on Options 2 and 3(Option1 is done) in parallel since they hold the same complexity which is mainly working with unmanaged threads.In both cases i am creating a wrapper to the COM either with creating COM-based component or a .net assembly or class( never figured it out yet).The problem i am facing is how to stop a thread execution.TerminateThread is not the answer(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/terminatethread.asp[^]), how to gently terminate a thread keeping in mind that the COM source code cannot be changed.Any code can only be added to the Wrapper.
GeneralRe: CreateThread Pin
Dave Kreskowiak9-Jan-06 2:15
mveDave Kreskowiak9-Jan-06 2:15 
GeneralRe: CreateThread Pin
Bassam Saoud9-Jan-06 3:06
Bassam Saoud9-Jan-06 3:06 
GeneralRe: CreateThread Pin
Bassam Saoud9-Jan-06 3:06
Bassam Saoud9-Jan-06 3:06 
QuestionRaising Global Keystrokes Pin
Lieut_Data7-Jan-06 8:06
Lieut_Data7-Jan-06 8:06 
AnswerRe: Raising Global Keystrokes Pin
S. Senthil Kumar8-Jan-06 2:19
S. Senthil Kumar8-Jan-06 2:19 
QuestionOpen .HLP file using Pin
CodyGen7-Jan-06 7:33
CodyGen7-Jan-06 7:33 
AnswerRe: Open .HLP file using Pin
leppie7-Jan-06 10:09
leppie7-Jan-06 10:09 
QuestionHow to get true Font size? Pin
Libor Tinka7-Jan-06 7:30
Libor Tinka7-Jan-06 7:30 
AnswerRe: How to get true Font size? Pin
Guffa7-Jan-06 8:50
Guffa7-Jan-06 8:50 
AnswerRe: How to get true Font size? Pin
Curtis Schlak.8-Jan-06 17:32
Curtis Schlak.8-Jan-06 17:32 
QuestionHow to generate a guid in C#? Pin
bouli7-Jan-06 7:15
bouli7-Jan-06 7:15 
AnswerRe: How to generate a guid in C#? Pin
CodyGen7-Jan-06 7:39
CodyGen7-Jan-06 7:39 
GeneralRe: How to generate a guid in C#? Pin
bouli7-Jan-06 7:42
bouli7-Jan-06 7:42 
JokeRe: How to generate a guid in C#? Pin
User 66587-Jan-06 10:26
User 66587-Jan-06 10:26 
JokeRe: How to do your laundry in C#? Pin
Guffa7-Jan-06 11:34
Guffa7-Jan-06 11:34 
JokeRe: How to generate a guid in C#? Pin
DavidNohejl7-Jan-06 12:27
DavidNohejl7-Jan-06 12:27 
QuestionC# Express IDE: Solution Config disabled?! Pin
peterchen7-Jan-06 2:32
peterchen7-Jan-06 2:32 

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.