Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Callback function Pin
Zac Howland30-Oct-06 3:38
Zac Howland30-Oct-06 3:38 
GeneralRe: Callback function Pin
PasNad30-Oct-06 14:06
PasNad30-Oct-06 14:06 
GeneralRe: Callback function Pin
Zac Howland31-Oct-06 5:02
Zac Howland31-Oct-06 5:02 
Questionregistering a plugin Pin
saqib8230-Oct-06 1:58
saqib8230-Oct-06 1:58 
AnswerRe: registering a plugin Pin
albertino callientes30-Oct-06 2:28
albertino callientes30-Oct-06 2:28 
GeneralRe: registering a plugin Pin
saqib8230-Oct-06 2:32
saqib8230-Oct-06 2:32 
GeneralRe: registering a plugin Pin
led mike30-Oct-06 5:32
led mike30-Oct-06 5:32 
QuestionFunction Pointer or Class Pointer ? Pin
Mr.Brainley30-Oct-06 1:15
Mr.Brainley30-Oct-06 1:15 
I have a class containing these methods/members :

class CWorkerThread
{
public:
	CWorkerThread(const HANDLE* hJobSignal);	//	creates Win32-Thread
	~CWorkerThread();

private:
	void run();	//	member-function that does the actual work
	static DWORD WINAPI StaticThreadFunction(LPVOID lpParameter);	//	entry-point for Win32-Threads

	const HANDLE*	m_hJobSignal;
};


The constructor creates a Thread and passes it the StaticThreadFunction to execute. As parameter it can now pass either a pointer to run(), or a the this-pointer. Wich is better ? I really see no big difference, but i fear i might miss some important point here.

Thanks !
AnswerRe: Function Pointer or Class Pointer ? Pin
Blake Miller30-Oct-06 3:55
Blake Miller30-Oct-06 3:55 
QuestionQuestion about list Box Pin
zizzzz30-Oct-06 0:40
zizzzz30-Oct-06 0:40 
AnswerRe: Question about list Box Pin
KarstenK30-Oct-06 0:52
mveKarstenK30-Oct-06 0:52 
AnswerRe: Question about list Box Pin
uday kiran janaswamy30-Oct-06 1:05
uday kiran janaswamy30-Oct-06 1:05 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 1:18
zizzzz30-Oct-06 1:18 
GeneralRe: Question about list Box Pin
uday kiran janaswamy30-Oct-06 1:21
uday kiran janaswamy30-Oct-06 1:21 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 1:36
zizzzz30-Oct-06 1:36 
GeneralRe: Question about list Box Pin
uday kiran janaswamy30-Oct-06 1:48
uday kiran janaswamy30-Oct-06 1:48 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 2:16
zizzzz30-Oct-06 2:16 
AnswerRe: Question about list Box Pin
David Crow30-Oct-06 3:18
David Crow30-Oct-06 3:18 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 3:23
zizzzz30-Oct-06 3:23 
QuestionHow to get the resources of parallel port on the system Pin
mt_samiei30-Oct-06 0:36
mt_samiei30-Oct-06 0:36 
QuestionMultiDocTemplate Pin
keyurbhatnagar30-Oct-06 0:16
keyurbhatnagar30-Oct-06 0:16 
AnswerRe: MultiDocTemplate Pin
Mark Salsbery30-Oct-06 5:31
Mark Salsbery30-Oct-06 5:31 
GeneralRe: MultiDocTemplate Pin
keyurbhatnagar30-Oct-06 17:46
keyurbhatnagar30-Oct-06 17:46 
GeneralRe: MultiDocTemplate Pin
Mark Salsbery30-Oct-06 18:26
Mark Salsbery30-Oct-06 18:26 
GeneralRe: MultiDocTemplate Pin
keyurbhatnagar30-Oct-06 19:09
keyurbhatnagar30-Oct-06 19:09 

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.