win32 function calling convention unspecified.
All functions are declared in the .h files without calling convension. If the
code using your lib doesn't use the same default calling convension, it either
do not link or break.
This cannot be fixed by recompiling the libs with the same calling convention
as the application, some file of vorbis.lib are not compiling under vc and
stdcall as default calling convension: callback function for qsort need to be
prefixed with cdecl. Also the callback structure should define it's own
calling convension (probably cdecl too)
You could either fix all h file to prefix the calls to what is in the lib, or
fix the compile problems of vorbis.lib to compile whatever calling convention
is used in the lib.
Beside that, i was able to compile and add ogg/vorbis support to my soft very
quickly. It's also quite fast! good work!.
Thanks
Benoit.