Dear Modem,
Thank you for your instructions. I have overcomed the problem by putting
"extern" in my code, and rebuild the openssl lib as your notes. I really
appreciate the helps from you and Wiliam.
Now, I can build my application. However, after building the application,
it pops a message box, which says that "This application has failed to start
because LIBEAY32.dll was not found. Re-installing the application may fix this
problem." I don't know what happens. I am not sure if I need re-compile the
openssl code for a dll file, in addition, how can I use the compiled dll file.
Suggestions will be really appreciated. Thank you.
Best Regards,
Xiang
> Date: Wed, 14 Apr 2010 15:55:49 +0200
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: ERROR LINK2019
>
> 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 [email protected]
> Automated List Manager [email protected]
_________________________________________________________________
SkyDrive电子画册,带你领略精彩照片,分享“美”时“美”刻!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c