[Flac-dev] FLAC C API / Visual Studio 2008 FILE* Issue

Ivailo Karamanolev ivailo91 at gmail.com
Tue Jan 5 05:33:42 PST 2010


Hello,

I am currently learning the FLAC C API and had the code working with
FLAC__stream_decoder_init_file. However, since I'd need the Unicode filename
support, I tried _wfopen_s in combination with
FLAC__stream_decoder_init_FILE, however I get a runtime crash as sonn as I
call FLAC__stream_decoder_process_until_end_of_stream. The same code
(partially taken from the examples) is working perfectly with the function
accepting filename and crashing with the one accepting FILE*. I have tried
both compiling the library myself and using the precompiled
flac-1.2.1-devel-win. Can someone try if it is working for him (the FILE*)
version and if yes - send back the source code?
I work in Windows 7 64bit, but I tried that also on a virtual Windows XP and
it crashes there also.

Thank you for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20100105/017c718c/attachment.htm 


More information about the Flac-dev mailing list