[flac-dev] Bug fix and compatibility patches for 1.3.0pre4

Robert Kausch robert.kausch at freac.org
Mon May 6 16:57:25 PDT 2013


Janne Hyvärinen wrote:
> Oldest Visual Studio supported by FLAC 1.3 is Visual Studio 2005. FLAC
> is also configured to be compiled with static linking, so no external
> dependencies hinder its function.
Ok. Thanks for pointing this out!

I use a custom build setup and link dynamically against msvcrt.dll. 
That's why I came across that problem and didn't realize that it would 
not affect most other people.

Sorry for causing such a stir over this!

There's one problem with static linkage and some of the FLAC API 
functions, though, that actually was the reason I linked FLAC against 
msvcrt.dll in the first place. The metadata object functions can be used 
in a memory ownership transferring manner. Doing so will cause problems 
when the calling EXE and the FLAC DLL use different CRTs as the DLL's 
CRT will not know about memory allocated by the EXE's CRT. However, the 
same happens when you mix msvcrt.dll and msvcr??.dll, so it's not 
limited to static linkage only. It's getting a bit off topic here, though...


More information about the flac-dev mailing list