Click here to Skip to main content
15,921,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Menus overlapping each other Pin
Michael Dunn22-Mar-07 10:27
sitebuilderMichael Dunn22-Mar-07 10:27 
Questiondynamic linking with DirectX Pin
shaderx22-Mar-07 8:43
shaderx22-Mar-07 8:43 
AnswerRe: dynamic linking with DirectX Pin
Cedric Moonen22-Mar-07 9:25
Cedric Moonen22-Mar-07 9:25 
AnswerRe: dynamic linking with DirectX Pin
led mike22-Mar-07 9:31
led mike22-Mar-07 9:31 
AnswerRe: dynamic linking with DirectX Pin
Michael Dunn22-Mar-07 10:31
sitebuilderMichael Dunn22-Mar-07 10:31 
AnswerRe: dynamic linking with DirectX Pin
shaderx22-Mar-07 10:39
shaderx22-Mar-07 10:39 
GeneralRe: dynamic linking with DirectX Pin
Mark Salsbery22-Mar-07 11:25
Mark Salsbery22-Mar-07 11:25 
QuestionPassing Variables to Thread Process [modified] Pin
darkcloud.42o22-Mar-07 8:28
darkcloud.42o22-Mar-07 8:28 
//hi the type of threading im using is..

#include
#include
using namespace std;
int shutdown=0;


int main(){

unsigned sid;
(HANDLE)_beginthreadex( NULL, 0, threadprocess, NULL, 0, &sid);


while(1){
Sleep(1000);
if(shutdown==1){ break; }
}

}

unsigned __stdcall threadprocess(void *params){

return 0;
}

//What i need to do is pass a string from the main() to the threadprocess.. Please Help.
//I alsot need to send a string back to the main process
//Could be a SOCKET i need to pass back or something for example
//but i know i could just put global string but it needs to separate per proccess ran...

-- modified at 14:47 Thursday 22nd March, 2007
AnswerRe: Passing Variables to Thread Process Pin
Mark Salsbery22-Mar-07 9:15
Mark Salsbery22-Mar-07 9:15 
GeneralRe: Passing Variables to Thread Process Pin
darkcloud.42o22-Mar-07 10:05
darkcloud.42o22-Mar-07 10:05 
GeneralRe: Passing Variables to Thread Process Pin
Mark Salsbery22-Mar-07 10:11
Mark Salsbery22-Mar-07 10:11 
AnswerRe: Passing Variables to Thread Process Pin
led mike22-Mar-07 9:16
led mike22-Mar-07 9:16 
AnswerRe: Passing Variables to Thread Process Pin
David Crow22-Mar-07 9:34
David Crow22-Mar-07 9:34 
GeneralRe: Passing Variables to Thread Process Pin
led mike22-Mar-07 9:40
led mike22-Mar-07 9:40 
GeneralRe: Passing Variables to Thread Process Pin
darkcloud.42o22-Mar-07 10:25
darkcloud.42o22-Mar-07 10:25 
QuestionRe: Passing Variables to Thread Process Pin
David Crow22-Mar-07 10:33
David Crow22-Mar-07 10:33 
AnswerRe: Passing Variables to Thread Process [modified] Pin
darkcloud.42o22-Mar-07 10:39
darkcloud.42o22-Mar-07 10:39 
AnswerRe: Passing Variables to Thread Process Pin
Stephen Hewitt22-Mar-07 12:53
Stephen Hewitt22-Mar-07 12:53 
GeneralRe: Passing Variables to Thread Process Pin
darkcloud.42o22-Mar-07 13:35
darkcloud.42o22-Mar-07 13:35 
GeneralRe: Passing Variables to Thread Process Pin
Stephen Hewitt22-Mar-07 13:38
Stephen Hewitt22-Mar-07 13:38 
AnswerRe: Passing Variables to Thread Process [modified] Pin
darkcloud.42o23-Mar-07 5:57
darkcloud.42o23-Mar-07 5:57 
Questionface detection Pin
mannur22-Mar-07 8:26
mannur22-Mar-07 8:26 
AnswerRe: face detection Pin
Christian Graus22-Mar-07 8:34
protectorChristian Graus22-Mar-07 8:34 
GeneralRe: face detection Pin
mannur22-Mar-07 8:57
mannur22-Mar-07 8:57 
GeneralRe: face detection Pin
toxcct22-Mar-07 9:39
toxcct22-Mar-07 9:39 

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.