From: Warren Young Date: March 29 2007 3:12pm Subject: Re: Problems with Visual C++ List-Archive: http://lists.mysql.com/plusplus/6489 Message-Id: <460BD750.7070607@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Warren Young wrote: >> >> 2) you *have* to select Multi-threaded Debug DLL (/MDd) in C/C++ - >> Code Generation - Runtime Library >> it won't let you link to a static runtime - why? don't ask me probably >> something to do with redistribution I was just reading through the MSDN docs and found this: > When /clr is in effect, /MD is also in effect.... /MD ensures that > the dynamically linked, multithreaded versions of the runtime > routines are selected from the standard header (.h) files. > Multithreading is necessary for managed programming in part because > the CLR garbage collector runs finalizers in an auxiliary thread. That in turn means that you're stuck with a DLL version of MySQL++ if you want to use it with C++/CLI, regardless of licensing issues.