Click here to Skip to main content
15,896,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Allow/Disallow a user from changing system time Pin
KingsGambit31-Mar-10 18:35
KingsGambit31-Mar-10 18:35 
AnswerRe: Allow/Disallow a user from changing system time Pin
Cool_Dev31-Mar-10 19:12
Cool_Dev31-Mar-10 19:12 
QuestionHow about BSCMAKE: error BK1505 ?? Pin
wangningyu31-Mar-10 15:49
wangningyu31-Mar-10 15:49 
AnswerRe: How about BSCMAKE: error BK1505 ?? Pin
KingsGambit31-Mar-10 17:07
KingsGambit31-Mar-10 17:07 
GeneralRe: How about BSCMAKE: error BK1505 ?? Pin
wangningyu31-Mar-10 21:57
wangningyu31-Mar-10 21:57 
AnswerRe: How about BSCMAKE: error BK1505 ?? Pin
Eugen Podsypalnikov31-Mar-10 21:21
Eugen Podsypalnikov31-Mar-10 21:21 
GeneralRe: How about BSCMAKE: error BK1505 ?? Pin
wangningyu31-Mar-10 21:54
wangningyu31-Mar-10 21:54 
QuestionMultithreading using AfxBeginThread Pin
kartikthakre31-Mar-10 7:32
kartikthakre31-Mar-10 7:32 
I am creating thread using AfxBeginThread in Visual Studio 2005 and the first parameter of this function is function pointer so i am passing member function pointer of that class but it gives error i.e.

my code is:

AfxBeginThread( &CMultithreadingInDialogDlg::MyThreadProc, GetSafeHwnd() );

in which MyThreadProc is member function. and the error is

error C2665: 'AfxBeginThread' : none of the 2 overloads could convert all the argument types.

but it is working if i am passing function pointer of any static function or global function


thanks in advance.
QuestionRe: Multithreading using AfxBeginThread Pin
David Crow31-Mar-10 7:53
David Crow31-Mar-10 7:53 
AnswerRe: Multithreading using AfxBeginThread Pin
kartikthakre1-Apr-10 7:19
kartikthakre1-Apr-10 7:19 
AnswerRe: Multithreading using AfxBeginThread Pin
David Crow1-Apr-10 7:48
David Crow1-Apr-10 7:48 
AnswerRe: Multithreading using AfxBeginThread [modified] Pin
Eugen Podsypalnikov31-Mar-10 19:58
Eugen Podsypalnikov31-Mar-10 19:58 
GeneralRe: Multithreading using AfxBeginThread Pin
Roger Stoltz31-Mar-10 21:54
Roger Stoltz31-Mar-10 21:54 
GeneralRe: Multithreading using AfxBeginThread Pin
Eugen Podsypalnikov31-Mar-10 22:03
Eugen Podsypalnikov31-Mar-10 22:03 
GeneralRe: Multithreading using AfxBeginThread Pin
Roger Stoltz31-Mar-10 22:23
Roger Stoltz31-Mar-10 22:23 
GeneralRe: Multithreading using AfxBeginThread Pin
Eugen Podsypalnikov31-Mar-10 22:39
Eugen Podsypalnikov31-Mar-10 22:39 
QuestionRe: Multithreading using AfxBeginThread Pin
David Crow1-Apr-10 5:30
David Crow1-Apr-10 5:30 
AnswerRe: Multithreading using AfxBeginThread Pin
Eugen Podsypalnikov1-Apr-10 5:39
Eugen Podsypalnikov1-Apr-10 5:39 
GeneralRe: Multithreading using AfxBeginThread Pin
kartikthakre1-Apr-10 7:17
kartikthakre1-Apr-10 7:17 
AnswerRe: Multithreading using AfxBeginThread Pin
David Crow1-Apr-10 7:53
David Crow1-Apr-10 7:53 
GeneralRe: Multithreading using AfxBeginThread Pin
kartikthakre2-Apr-10 3:54
kartikthakre2-Apr-10 3:54 
QuestionHow to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 7:10
professionalbioan31-Mar-10 7:10 
AnswerRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 7:31
professionalChris Losinger31-Mar-10 7:31 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 7:58
professionalbioan31-Mar-10 7:58 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 8:06
professionalChris Losinger31-Mar-10 8:06 

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.