hi all... dont know if anyone here can help me..i am making a socket connection to an irc server through xbox
its already working and that is not the problem
the problem is that i have added multithreading and cannot pass a string to the new thread
NULL is what i see everyone using
but i want to pass a string to it
and then in ConnectSock()
i think i would have
what do i do to send the string over am i doing that part right? and if so how do i cast the pointer back into a string?
its already working and that is not the problem
the problem is that i have added multithreading and cannot pass a string to the new thread
Code:
ExCreateThread(&moduleHandle, 0, &threadId, (VOID*)ConnectSock , (LPTHREAD_START_ROUTINE)ConnectSock, NULL, 0x02);
NULL is what i see everyone using
but i want to pass a string to it
Code:
ExCreateThread(&moduleHandle, 0, &threadId, (VOID*)ConnectSock , (LPTHREAD_START_ROUTINE)ConnectSock, >, 0x02);
and then in ConnectSock()
i think i would have
Code:
void ConnectSock(LPVOID zGT) {
}
what do i do to send the string over am i doing that part right? and if so how do i cast the pointer back into a string?