Hi 芦翔, I also used mixed C / C++ Project and did not used the probably well known
#ifdef __cplusplus extern "C" { #endif #include <openssl\xxxx.h> #ifdef __cplusplus } #endif stuff. It worked for me without this. Used VS 2005, which surely has same behaviour as VS 2008. M.M. > hi, > Thank you for your notes. Yes, my code is composed of both C and C++ > code. For the openssl part, it is programed by C. And the other part > is from C++. Should I only use "extern" for those C-realated > "#include", or all the C code should be embraced in the "extern"? > Thank you so much. > > Best Regards, > Xiang ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org