[vorbis] Visual Studio .NET
John Lundy
jlundy at playnet.com
Tue Apr 16 12:03:55 PDT 2002
Check the project settings and find Struct Member Alignment. All the Ogg
Vorbis precompiled runtimes are compiled with 8 byte alignment. If your
projects are being compiled with another byte alignment, you will probably
crash when linked to the runtimes.
<opinion>
In fact, the Ogg Vorbis sources *should* have some form of alignment
specification around all the structures declared in the header files. Like
#pragma pack(push, 8) (yes I know this form does not exist on all platforms
however at least a comment should appear in the headers to make the
preferred alignment known). I proposed this on the vorbis-dev list for the
next release of the code. Of course, there is no guarantee that the dev team
will incorporate this request.
</opinion>
Anyway, try this in your project and see if your results (crashes) change.
John
----- Original Message -----
From: "Daniel Vogel" <vogel at epicgames.com>
To: "Vorbis at Xiph. Org" <vorbis at xiph.org>
Sent: Sunday, April 14, 2002 12:39 PM
Subject: [vorbis] Visual Studio .NET
<p>> Hi`
>
> we recently switched to using Visual Studio .NET and now I get a crash
> inside Ogg Vorbis unless I recompile Ogg Vorbis itself with Visual Studio
> .NET. Are there any known issues like that? If possible I'd like to use
the
> official binaries.
>
> -- Daniel, Epic Games Inc.
>
>
> --- >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-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.
>
>
<p>--- >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-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
mailing list