[vorbis-dev] ov_open throws exception (Compiler VC7)

ToyToy toytoy at gmx.ch
Sun Dec 29 10:03:54 PST 2002



I could solve the problem, I had to recompile the library because it seems
VC7 uses a different C-Runtime library than the precompiled ogg/vorbis
library.

<p>-----Urspruengliche Nachricht-----
Von: owner-vorbis-dev at xiph.org [mailto:owner-vorbis-dev at xiph.org] Im Auftrag
von ToyToy
Gesendet: Freitag, 27. Dezember 2002 22:13
An: vorbis-dev at xiph.org
Betreff: [vorbis-dev] ov_open throws exception (Compiler VC7)

<p>Hi

I try to load an ogg file with the vorbisfile library like this:

FILE *f = fopen("test.ogg", "rb");
if(!f) ...;
ov_open(f, &vf, 0, 0);

But ov_open always throws an exception. Im pretty sure its a compiler
problem because the same code worked on VC6. Im compiling my programm with
the multithreaded dll option as mentioned on the mailing list bevor. Does
anybody know if I have to make additional compiler settings?

thx
Milo Spirig

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'vorbis-dev-request at xiph.org' containing only the word 'unsubscribe' in the
body.  No subject is needed. Unsubscribe messages sent to the list will be
ignored/filtered.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list