[vorbis-dev] access violation in ov_open using VC6
Ryan Ashley
Lord_Dakron at hotmail.com
Tue Mar 9 17:32:05 PST 2004
That's the problem, Mike. You see VC++ stuff is 100% proprietary, and a
good portion of us don't use VC++ for work. You should make some generic
libraries for Win32 instead. Use something standard like gcc/g++ or
Borland, or even Watcom. Then the worst thing people have to worry about
are the makefiles, which can be cake to change between compilers. Going
through tons of Vorbis source to recompile just so Vorbis works is a pain
though.
Albert, a guy on the regular Vorbis list made a static compile of a few
Vorbis files and that makes ov_open() work fine. His handle on this list is
'Programmer Ted'. The default ov_open will NOT work unless you run VC++ and
then somehow force it to link. I don't use VC++ so I am not sure how.
----- Original Message -----
From: "Michael Smith" <msmith at xiph.org>
To: <vorbis-dev at xiph.org>
Sent: Tuesday, March 09, 2004 6:57 PM
Subject: Re: [vorbis-dev] access violation in ov_open using VC6
<p>> On Sunday 07 March 2004 06:57, albert tedja wrote:
> > I passed a valid FILE* (from fopen() with "rb") and the
> > address of an OggVorbis_File struct, but an access
> > violation occured when ov_open is called.
> >
> > I have enabled the Multithreaded, but it still doesn't fix
> > the problem. I look at the vorbis_comment.exe source and I
> > see vcedit_open() function and other vcedit_*() functions
> > everywhere. I am assuming that there is known issue with VC
> > and ov_open that's why vorbis_comment is using the edited
> > version. I don't know if I should use these functions or
> > not. Or maybe I missed something?
> >
>
> The vcedit_*() functions are completely unrelated to the ov_*() functions,
> vorbiscomment doesn't use libvorbisfile.
>
> ov_open works perfectly on windows (with VC++) if the project options are
> configured correctly.
>
> Mike
>
>
>
> --- >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