<div class="gmail_quote">Hi all<div>I am trying to use TagLib to extract album art from audio files. I am building this app for WINCE 6.0 using c++ and Visual Studio 2005 IDE.</div><div>As of now, i am just trying to test it on an mp3 file. If i include all the files from mpeg, toolkit and ape folders, i am able to compile my project.</div>
<div>But, at runtime the it gives an unhandled exception error.</div><div><br></div><div>My main code is simply:</div><div><div>int main()</div><div>{</div><div><span style="white-space:pre">        </span>TagLib::FileRef f("\\Storage Card\\YeDooriyan.mp3");</div>
<div><span style="white-space:pre">        </span>return(0);</div><div>}</div></div><div><br></div><div>On closer look it seems that the error actually occurs in create function of FileRef.</div><div><br></div>
<div>The code crashes on this line:</div><div><br></div><div><div> List<const FileTypeResolver *>::ConstIterator it = FileRefPrivate::fileTypeResolvers.begin();</div><div><br></div><div>It seems the detach() function in tlist.tcc is being called without being initialised in the first place.</div>
<div><br></div><div>In tlist.h, its written that tlist.tcc is included only because there is no export function in gcc. Since, i am using VS2005 is it possible that </div><div>i can do without the .tcc? If you people have nay suggestion, kindly reply.Am bit of stuck on this.</div>
<div><br></div><div>I am newbie in c++ programming, hence am not very converse with the technicalities of compiler.</div><div><br></div><div>Regards</div><div>Pranay</div><div><br></div></div></div>