From: "Rob Neff" <[EMAIL PROTECTED]>

neff.ra> #ifdef MYDLL_EXPORTS
neff.ra> #define MYDLL_API __declspec(dllexport)
neff.ra> #else
neff.ra> #define MYDLL_API __declspec(dllimport)
neff.ra> #endif
neff.ra> 
neff.ra> extern MYDLL_API int nTestdll;
neff.ra> 
neff.ra> MYDLL_API int fnTestdll(void);

That's basically what is in place in the current development source.
I gotta ask you though, do function declarations really need to be
prefixed that way too?  We've seemed to do fine without that so far...

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to