linking problems with vc++ dll

Hello all.

I have created a dynamic link library using vc++. When trying to call the
functions exported by the library I get a linker error in c++ builder.

I would like to know what is the correct declaration that i should be using
in my .h files. thanks.

TIA
Sami

<snip>

//VC++ type header
/*********************************************\
public DLL functions
/*********************************************/

__declspec(dllexport) void Foo();

</snip>