Click here to Skip to main content
15,881,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error....with oledb connection string Pin
prasad_som16-Oct-06 19:38
prasad_som16-Oct-06 19:38 
AnswerRe: error....with oledb connection string Pin
Mark Salsbery17-Oct-06 7:16
Mark Salsbery17-Oct-06 7:16 
QuestionLive Redirection Pin
rupert_durans16-Oct-06 16:54
rupert_durans16-Oct-06 16:54 
AnswerRe: Live Redirection Pin
Owner drawn16-Oct-06 19:28
Owner drawn16-Oct-06 19:28 
GeneralRe: Live Redirection Pin
rupert_durans16-Oct-06 22:00
rupert_durans16-Oct-06 22:00 
QuestionDll Loading Visual Studio 6.0 VC++ Pin
ccp99916-Oct-06 14:30
ccp99916-Oct-06 14:30 
AnswerRe: Dll Loading Visual Studio 6.0 VC++ Pin
prasad_som16-Oct-06 19:45
prasad_som16-Oct-06 19:45 
Questioncreating a thread Pin
xJorDyx16-Oct-06 10:21
xJorDyx16-Oct-06 10:21 
im trying to create a thread to listen on a port for incomming data but i keep getting errors

HANDLE Handle_Of_listener = 0;
Handle_Of_listener = CreateThread( NULL, 0, listener, &s, 0, NULL);
when i try to compile that it returns:
.\main.cpp(34) : error C3867: 'Messenger::listener': function call missing argument list; use '&Messenger::listener' to create a pointer to member


soo i do what it says and create a pointer to my listener() function

Handle_Of_listener = CreateThread( NULL, 0, &listener, &s, 0, NULL);

errors:
.\main.cpp(34) : error C2276: '&' : illegal operation on bound member function expression

i mean come on i do what it tells me to the says it's illegal!!
AnswerRe: creating a thread Pin
Mark Salsbery16-Oct-06 10:36
Mark Salsbery16-Oct-06 10:36 
GeneralRe: creating a thread Pin
xJorDyx18-Oct-06 11:51
xJorDyx18-Oct-06 11:51 
GeneralRe: creating a thread Pin
Mark Salsbery18-Oct-06 12:03
Mark Salsbery18-Oct-06 12:03 
GeneralRe: creating a thread [modified] Pin
xJorDyx19-Oct-06 9:08
xJorDyx19-Oct-06 9:08 
GeneralRe: creating a thread Pin
xJorDyx24-Oct-06 7:13
xJorDyx24-Oct-06 7:13 
QuestionImage Pin
messages16-Oct-06 8:52
messages16-Oct-06 8:52 
AnswerRe: Image Pin
Mark Salsbery16-Oct-06 9:01
Mark Salsbery16-Oct-06 9:01 
GeneralRe: Image Pin
messages16-Oct-06 9:25
messages16-Oct-06 9:25 
GeneralRe: Image Pin
Mark Salsbery16-Oct-06 9:38
Mark Salsbery16-Oct-06 9:38 
AnswerRe: Image Pin
viliam16-Oct-06 9:03
viliam16-Oct-06 9:03 
GeneralRe: Image Pin
messages16-Oct-06 9:26
messages16-Oct-06 9:26 
GeneralRe: Image Pin
Christian Graus16-Oct-06 10:10
protectorChristian Graus16-Oct-06 10:10 
Questionredirect input Pin
viliam16-Oct-06 8:38
viliam16-Oct-06 8:38 
AnswerRe: redirect input Pin
rupert_durans16-Oct-06 22:56
rupert_durans16-Oct-06 22:56 
AnswerRe: redirect input Pin
David Crow17-Oct-06 5:17
David Crow17-Oct-06 5:17 
QuestionC++ Winsock/Network Programming Help Please Pin
Phoenix10116-Oct-06 8:24
Phoenix10116-Oct-06 8:24 
AnswerRe: C++ Winsock/Network Programming Help Please Pin
Mark Salsbery16-Oct-06 8:39
Mark Salsbery16-Oct-06 8: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.