[boost] A problem concerning msvc++ and boost::spirit::phoenix

2003-06-19 Thread DudeSan
While I was playing around with spirit yesterday, I stumbled on something nasty. I'm not sure if this is the right place to report this but I'll post it here anyway :) I found a calculator example (http://www.oreillynet.com/network/2003/05/06/examples/calculatorexample .html) which includes

[boost] Problem with boost::bind and windows api calls

2003-01-30 Thread DudeSan
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

Re: Re: [boost] Problem with boost::bind and windows api calls

2003-01-30 Thread DudeSan
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