Hi! I'm trying to encapsulate the DES functions into a class to use in an object-oriented programming environment, but I've found some problems. I use the following code to declare the class:
#include <openssl/des.h> class DES { //Class attributes and methods }; The #include directive generates the following error: [C++ Error] stdlib.h(434): E2132 Templates and overloaded operators cannot have C linkage stdlib.h(434): template <class _T> inline const _T _FAR &min( const _T _FAR &__t1, const _T _FAR &__t2 ) I'm using Borland C++Builder 5. Can anyone help me out? I really need to fix this fast! Greetings to all, Daniel.