From: Warren Young Date: June 11 2007 11:15pm Subject: Re: Can I get mysql++'s version information? List-Archive: http://lists.mysql.com/plusplus/6649 Message-Id: <466DD77E.4010104@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Niu Kun wrote: > It's a bit strange to have the "HEADER" in the macro's name and compare > it to mysqlpp_lib_version() function. This was done on purpose. It allows a program to tell when it was built using headers from one version of MySQL++ and linked to another. See examples/resetdb.cpp to see how to use these facilities.