On 10/10/06, Vladimir Prus <ghost@cs.msu.su> wrote:
Does your DLL export any functions with __declspec(dllexport)? If not, it
won't work on Windows.
- Volodya
Thanks for the suggestion. After adding a config.hpp file and specify __declspec(dllexport) properly, my code for channel lib compile fine and a few samples also build and run correctly.
However i run into the following problem in some other samples. For a few samples which dont use sockets or asio, i see the following compile error (attached at end of email) which is related to some microsoft SDK headers. However if i include <boost/asio.hpp> at the beginning, the error is gone. So it looks like I need to include some settings (which are in
asio.hpp) into my headers. Any idea what these settings should be?
Thanks
Yigong
-----------------------------------------------------------
d:\boost\boost/channel/interface.hpp(32) : error C2332: 'class' : missing tag name