[Spread-users] linking with multithreaded-dll

Theo Schlossnagle jesus at omniti.com
Fri Apr 2 09:43:50 EST 2004

Roland Holm wrote:

> I'd like to use spread as part of a win32 application which is built
> using multithreaded-dll code generation. I was not able to make a 
> suitable spread library
> which links to this application.
> How do I build a spread lib that links with such applications?

I only know how to do this in Visual Studio .NET.  Change the target 
type of the project to DLL-Multithreaded.  Explicitly add the 
\D_REENRANT flag to the preprocessot flags.  Then create an exports file 
to export all the needed API and build.

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Ecelerity: fastest MTA on Earth

More information about the Spread-users mailing list