<div class="gmail_quote">On 22 February 2013 15:26, Alex Barry <span dir="ltr">&lt;<a href="mailto:alex@cineclick.ca" target="_blank">alex@cineclick.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I&#39;ve used libvorbis many times in linux and windows &lt;= 7 applications without any major problems, and wanted to know if that translates the same to the sandboxed windows 8 store app environment.  I&#39;m playing around with it right now, and was able to get the library to compile fine (static), and was able to get it to compile within my project.  So far, no problems, but I was almost certain that there was some sort of heavy restriction on using fopen and friends within the sandboxed environment.  I am trying to play an ogg file and so far, my fopen_s() keeps returning non-zero, but I&#39;m still working on debugging it (I&#39;m assuming I just need to specify an absolute path rather than relative to the app).</div>

<div><br></div><div>Anyone with windows 8 store app experience and tips?</div><div><br></div></blockquote><div><br>(Ooops, meant to reply on-list. Alex got back to say the files are packaged with the app, so what I&#39;ve said below isn&#39;t the full answer, may be another issue.)<br>
<br>I&#39;ve no experience with it, but it looks like fopen is a non-starter:<br><a href="http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/718fc649-bcec-4b87-85ee-51fa129d06d7/" target="_blank">http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/718fc649-bcec-4b87-85ee-51fa129d06d7/</a><br>

 <br>This will break SO much. Still libvorbis doesn&#39;t care about the 
data reading mechanism as long as you can get the data for it. If you&#39;re
 using libvorbisfile you&#39;ll need to use the callbacks API, &lt;<a href="http://xiph.org/vorbis/doc/vorbisfile/callbacks.html" target="_blank">http://xiph.org/vorbis/doc/vorbisfile/callbacks.html</a>&gt; and &lt;<a href="http://xiph.org/vorbis/doc/vorbisfile/ov_callbacks.html" target="_blank">http://xiph.org/vorbis/doc/vorbisfile/ov_callbacks.html</a>&gt;.<br>
<br></div></div><br>-- <br>imalone<br><a href="http://ibmalone.blogspot.co.uk" target="_blank">http://ibmalone.blogspot.co.uk</a>