List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:March 29 2007 3:12pm
Subject:Re: Problems with Visual C++
View as plain text  
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.
Thread
Problems with Visual C++Michael Nye23 Mar
  • Re: Problems with Visual C++Warren Young23 Mar
    • Re: Problems with Visual C++Michael Nye24 Mar
      • Re: Problems with Visual C++gary clark24 Mar
        • Re: Problems with Visual C++Michael Nye25 Mar
          • RE: Problems with Visual C++Jim Wallace25 Mar
            • Re: Problems with Visual C++Michael Nye26 Mar
              • RE: Problems with Visual C++Jim Wallace26 Mar
                • Re: Problems with Visual C++Michael Nye28 Mar
        • Re: Problems with Visual C++Michael Nye26 Mar
Re: Problems with Visual C++Andre Sodermans29 Mar
  • Re: Problems with Visual C++Warren Young29 Mar
    • RE: Problems with Visual C++Matt Dargavel29 Mar
    • Re: Problems with Visual C++Warren Young29 Mar