Hey there!
I've had some problems trying to make a function pointer to a specific
windows callback function. It's defined as LRESULT CALLBACK WndProc(
HWND
hWnd, UINT message, WPARAM wParam, LPARAM lParam ), however, any sore
attempt I try to get the boost::bind working with it seems to fail
From: DudeSan [EMAIL PROTECTED]
Hey there!
I've had some problems trying to make a function pointer to a specific
windows callback function. It's defined as LRESULT CALLBACK WndProc(
HWND
hWnd, UINT message, WPARAM wParam, LPARAM lParam ), however, any sore
attempt I try to get the
No, this won't work. boost::bind returns a function object, an object
with
operator() defined, not a function pointer. You can't use bind() to
create
a function pointer.
So, are there any suggestions or ideas that I could use?
I'm trying to make the wndProc point at a member function. I've
From: DudeSan [EMAIL PROTECTED]
No, this won't work. boost::bind returns a function object, an object
with
operator() defined, not a function pointer. You can't use bind() to
create
a function pointer.
So, are there any suggestions or ideas that I could use?
I'm trying to make the
Peter Dimov said:
From: DudeSan [EMAIL PROTECTED]
No, this won't work. boost::bind returns a function object, an
object
with
operator() defined, not a function pointer. You can't use bind() to
create
a function pointer.
So, are there any suggestions or ideas that I could use?
I'm