From: Warren Young Date: August 3 2007 11:54am Subject: Re: Linker error in VC7 with mysql++ and std::string List-Archive: http://lists.mysql.com/plusplus/6871 Message-Id: <46B31763.2070306@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Martin Dommermuth wrote: > > First I get 2 warnings: > exceptions.h(44) : warning C4275: non dll-interface class 'exception' used > as base > for dll-interface class 'mysqlpp::Exception' The only way I can think of for that to happen is if you aren't using the project files shipped with MySQL++. Double click on mysql++.dsw and accept each time it offers to convert a file to the current file format. > Some sources on the net say, that VC is a bit hypersensitive here. Yes, it is. I know of no other tool chain that provides multiple immiscible sets of its standard libraries. > And could anyone enlighten me on the "__declspec(dllimport)" stuff? Typical Microsoft brain damage?