Hi Volodya,

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
d:\boost\boost/channel/interface.hpp(32) : error C2989: '<unnamed-tag>' : class template has already been declared as a non-class template
        c:\program files\microsoft platform sdk for windows server 2003 r2\include\rpcndr.h(218) : see declaration of '<unnamed-tag>'
d:\boost\boost/channel/interface.hpp(440) : error C2332: 'struct' : missing tag name
d:\boost\boost/channel/interface.hpp(440) : error C2236: unexpected 'struct' 'boost::channel::<unnamed-tag>'. Did you forget a ';'?
d:\boost\boost/channel/interface.hpp(63) : error C2332: 'struct' : missing tag name