Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple Hello World Application Pin
Cedric Moonen27-Jun-07 22:21
Cedric Moonen27-Jun-07 22:21 
GeneralRe: Simple Hello World Application Pin
CPallini27-Jun-07 22:46
mveCPallini27-Jun-07 22:46 
GeneralRe: Simple Hello World Application Pin
Michael Dunn28-Jun-07 8:10
sitebuilderMichael Dunn28-Jun-07 8:10 
QuestionCreating a new DSN Pin
Pradosh Tapan Datta27-Jun-07 21:24
Pradosh Tapan Datta27-Jun-07 21:24 
AnswerRe: Creating a new DSN Pin
nitin327-Jun-07 21:31
nitin327-Jun-07 21:31 
GeneralRe: Creating a new DSN Pin
Pradosh Tapan Datta27-Jun-07 23:14
Pradosh Tapan Datta27-Jun-07 23:14 
GeneralRe: Creating a new DSN Pin
nitin327-Jun-07 23:29
nitin327-Jun-07 23:29 
AnswerThis creates a new DSN Pin
Programm3r28-Jun-07 1:38
Programm3r28-Jun-07 1:38 
QuestionRe: This creates a new DSN Pin
Mark Salsbery28-Jun-07 6:44
Mark Salsbery28-Jun-07 6:44 
QuestionFile Encryption Pin
danasegaranea27-Jun-07 21:22
danasegaranea27-Jun-07 21:22 
GeneralDES / 3DES / TEA ... Pin
zhang80060527-Jun-07 22:15
zhang80060527-Jun-07 22:15 
GeneralRe: DES / 3DES / TEA ... Pin
danasegaranea27-Jun-07 23:13
danasegaranea27-Jun-07 23:13 
Questionmfc in vista Pin
deeps_cute27-Jun-07 21:10
deeps_cute27-Jun-07 21:10 
AnswerRe: mfc in vista Pin
Hans Dietrich27-Jun-07 21:21
mentorHans Dietrich27-Jun-07 21:21 
Generalcopy msc42d.dll to system32 directory Pin
zhang80060527-Jun-07 21:26
zhang80060527-Jun-07 21:26 
QuestionHow to manage resouce? Make them unreadable to user. Pin
Peter, Chan27-Jun-07 21:04
Peter, Chan27-Jun-07 21:04 
QuestionVISTA Pin
VC_RYK27-Jun-07 20:51
VC_RYK27-Jun-07 20:51 
AnswerRe: VISTA Pin
Hans Dietrich27-Jun-07 21:26
mentorHans Dietrich27-Jun-07 21:26 
QuestionOnCtlColor Pin
sudheee27-Jun-07 20:50
sudheee27-Jun-07 20:50 
AnswerRe: OnCtlColor Pin
KarstenK27-Jun-07 21:00
mveKarstenK27-Jun-07 21:00 
GeneralRe: OnCtlColor Pin
sudheee27-Jun-07 22:57
sudheee27-Jun-07 22:57 
GeneralRe: OnCtlColor Pin
KarstenK27-Jun-07 23:12
mveKarstenK27-Jun-07 23:12 
AnswerRe: OnCtlColor Pin
alias_rizwan28-Jun-07 0:26
alias_rizwan28-Jun-07 0:26 
QuestionThread Question Pin
Programm3r27-Jun-07 20:47
Programm3r27-Jun-07 20:47 
Hi all,

Lets say one has created a thread using _beginthread() and now that thread is active and running. Now one wants to pass arguments to that thread function, but remember that the thread was already created. Now ... how can one (if it is possible) call that thread function, without calling _beginthread() again.
I.E
int callThreadFunc()
{
 // call thread function without calling _beginthrad
 // or can one just dio a nornal function call??? 
}
void myThread(void* a)
{
 while (1)
 {
   // do some stuff - not relevent
   Sleep(1000);
 } 
}
void main()
{
 _beginthread(myThread, NULL, 0); // creating the thread
 ...
}


Many Thanks
Regards,


The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Thread Question Pin
KarstenK27-Jun-07 20:57
mveKarstenK27-Jun-07 20:57 

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.