Click here to Skip to main content
15,921,990 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: caret Pin
rose19616-May-08 0:39
rose19616-May-08 0:39 
GeneralRe: caret Pin
Giorgi Dalakishvili16-May-08 4:44
mentorGiorgi Dalakishvili16-May-08 4:44 
GeneralRe: caret Pin
rose19618-May-08 18:36
rose19618-May-08 18:36 
GeneralRe: caret Pin
Giorgi Dalakishvili18-May-08 21:30
mentorGiorgi Dalakishvili18-May-08 21:30 
GeneralThank you Pin
rose19618-May-08 22:35
rose19618-May-08 22:35 
GeneralRe: Thank you Pin
Giorgi Dalakishvili19-May-08 8:37
mentorGiorgi Dalakishvili19-May-08 8:37 
QuestionHaving problems with autoscroll Pin
BuckBrown14-May-08 9:33
BuckBrown14-May-08 9:33 
Questionthreading problem Pin
Adnan Merter14-May-08 6:56
Adnan Merter14-May-08 6:56 
i am working on a project which has two form.
i want to run the second form in a different thread.
and i declared my thread

private: System::Threading::Thread^ MyThread;

and

this->myThread  = (gcnew System::Threading::Thread( <br />
gcnew System::Threading::ThreadStart( &MyClass::MyFunction)));


and i added" this->MyThread ->Start(); into button1_Click decleration

and i include the form2 into my form1 header file
and added my class codes under under the Form2's codes

so far everything is ok, but when i debug my project form2 can open once and after i close Form2, it doesnt open again, when i tried to click the button an error occours

"Thread is running or terminated"

How can i run my thread again after i close it?


--always comes daylight after night-----

AnswerRe: threading problem Pin
led mike14-May-08 11:47
led mike14-May-08 11:47 
GeneralRe: threading problem Pin
Adnan Merter14-May-08 13:09
Adnan Merter14-May-08 13:09 
GeneralRe: threading problem Pin
led mike15-May-08 5:43
led mike15-May-08 5:43 
QuestionLink list Pin
Ali Rahimei14-May-08 0:10
Ali Rahimei14-May-08 0:10 
AnswerRe: Link list Pin
led mike14-May-08 4:17
led mike14-May-08 4:17 
QuestionUsing MFC class in a native application Pin
sabeeshcs13-May-08 20:20
sabeeshcs13-May-08 20:20 
AnswerRe: Using MFC class in a native application Pin
Mark Salsbery14-May-08 7:35
Mark Salsbery14-May-08 7:35 
GeneralRe: Using MFC class in a native application Pin
sabeeshcs14-May-08 22:52
sabeeshcs14-May-08 22:52 
QuestionHow do you reset the bounds when scaling a Matrix object Pin
BuckBrown13-May-08 10:53
BuckBrown13-May-08 10:53 
AnswerRe: How do you reset the bounds when scaling a Matrix object Pin
led mike14-May-08 4:23
led mike14-May-08 4:23 
QuestionSystem.AccessViolationException when accessing a wrapped member Pin
MikeG200013-May-08 6:40
MikeG200013-May-08 6:40 
AnswerRe: System.AccessViolationException when accessing a wrapped member Pin
MikeG200013-May-08 6:46
MikeG200013-May-08 6:46 
Questioncommon variables Pin
Adnan Merter13-May-08 4:13
Adnan Merter13-May-08 4:13 
AnswerRe: common variables Pin
leonigah13-Jun-08 0:30
leonigah13-Jun-08 0:30 
Questiontext change Pin
rose19612-May-08 20:07
rose19612-May-08 20:07 
AnswerRe: text change Pin
leonigah13-Jun-08 0:33
leonigah13-Jun-08 0:33 
QuestionTooltip with StatusStripLabel Pin
TheBerk12-May-08 8:20
TheBerk12-May-08 8:20 

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.