<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=4>Eddie,</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>I have been reviewing vorbis list postings, because
I have been spinning my wheels for a week, trying to make a simple insertion of
ogg vorbis decoding (vorbisfile) in the audio class of my MFC/C++ program.
I just read your thread from April 2004.</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>Question: Do you have anything you could send
me, since I assume you succeeded in getting results? And/or could you take
a look at what I have below and possibly point out my problem? Needless to
say, I would greatly appreciate it!</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>Steve Russell</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=4> // AudioFile.cpp</FONT></DIV>
<DIV><FONT face=Arial size=4> #include "vorbis/codec.h"<BR> #include
"vorbis/vorbisfile.h"</FONT></DIV>
<DIV><FONT face=Arial size=4> . . .</FONT></DIV>
<DIV><FONT face=Arial size=4> OggVorbis_File vf;<BR> FILE*
pFile;<BR> pFile = fopen("verdes_2.ogg", "rb");<BR> int err = err
= ov_open(pFile, &vf, NULL, 0);</FONT></DIV>
<DIV><FONT face=Arial size=4> . . .</FONT></DIV>
<DIV><FONT face=Arial size=4> ov_clear(&vf);</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>In my app's directory, I have</FONT></DIV>
<DIV><FONT face=Arial size=4>ogg.dll</FONT></DIV>
<DIV><FONT face=Arial size=4>vorbis.dll</FONT></DIV>
<DIV><FONT face=Arial size=4>vorbisfile.dll</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>and have added to my project these
files:</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>ogg\ogg.h</FONT></DIV>
<DIV><FONT face=Arial size=4>ogg\os_types.h</FONT></DIV>
<DIV><FONT face=Arial size=4>vorbis\codec.h</FONT></DIV>
<DIV><FONT face=Arial size=4>vorbis\vorbisfile.h</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>I am ignoring this library:</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>MSVCRT.lib</FONT></DIV>
<DIV><FONT face=Arial size=4>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>"Use run-time library" is set to Multi-threaded
DLL.</FONT></DIV>
<DIV> </DIV>
<DIV>"Object/library modules": vorbis/vorbisfile.lib</DIV></FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4>ov_open gives me a
mystserious exception.</FONT></DIV></DIV></BODY></HTML>