On Thu, Sep 16, 2004, Sravan wrote: > Dr. Stephen Henson wrote: > > But what if I *dont *wish to use the shared library(in which the > functions that return pointers to structures are present)? > In my case, I need to use say a function like X509_free( ) with out > linking libeay32.lib(in case of windows). > For that I use the macro IMPLEMENT_ASN1_FUNCTIONS(X509). But in that > expansion, ASN1_ITEM_rptr(X509) will be used which is being replaced as > X509_it( ) in my case. This is being reported as unresolved symbol by > the linker. > >
The macros don't define standalone functions. They make *heavy* use of various pieces of functionality in libeay32.lib. So if you use something like that you still need the support code in libeay32.lib. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
