[vorbis-dev] Anyone with an extended vorbisfile_example?

Ingo Ralf Blum ingoralfblum at gmx.de
Mon Jun 11 07:51:33 PDT 2001



> > However you still have to links against
> > the msvcrt.dll.
> Is this generally a problem? Is it present on all Windows systems? How much
> do the versions differ?

Just use the one supplied with Visual C++. Usually it is present on all Win32
systems, but you should always include the newest one in you binary package when
you distibute your product. There is a directory with redistributables supplied
with Visual C++ and the Service Packs therefore.

If you use the Windows Installer services, there are prepackaged components
downloadable at the MSDN web site as well as the Visual Studio Installer
application.

> > Or do you mean creating one DLL for all Ogg/Vorbis libraries, lets say a
> > OggVorbisEverything.dll.
> No, I meant the former. But what I'd also like to do is convert my console
> application to a .dll project (and make the function accept file names
> instead of file handles). I'll try starting a new .dll project in VC and see
> how far I can get.

I had problems when linking against the MSVCRT, MFC and DirectShow DLLs, because
the global variables in the encoder were not initialized, which caused the
encoder to crash on initialization, so I worked around this problem by linking
everything statically. I have not investigated this problem further.

> I'm sorry - this may be more of a Win/MSVC discussion - but I'll take my
> chances before being thrown out off the list :-)

Btw: Visual C++ still doesn't like floor1.c in libvorbis because of a "default:"
at the end of a "switch" statement. I've reported this already on this list
together with a patch, but perhaps I'm in someones mail filter here.

Regards Ingo

--- >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