search for: iretval

Displaying 2 results from an estimated 2 matches for "iretval".

Did you mean: retval
2005 Apr 03
3
Direct crash on ov_open
...rbis/vorbisfile.h" #include <stdio.h> #include <memory.h> void main(void) { // Attempt to open the file FILE *pFile = NULL; pFile = fopen("C:\\IronDaimen.ogg","rb"); if (!pFile) return; OggVorbis_File ovFile; memset(&ovFile,0,sizeof(ovFile)); int iRetval = 0; iRetval = ov_open(pFile,&ovFile,NULL,0); if (iRetval != 0) { fclose(pFile); return; } } I link against the ogg/vorbis DLLs (tried both debug and release ones). This is really very frustrating... I tried several other files, but all crash. WinAmp plays them correctly, so it's...
2005 Apr 03
0
Direct crash on ov_open
...rbis/vorbisfile.h" #include <stdio.h> #include <memory.h> void main(void) { // Attempt to open the file FILE *pFile = NULL; pFile = fopen("C:\\IronDaimen.ogg","rb"); if (!pFile) return; OggVorbis_File ovFile; memset(&ovFile,0,sizeof(ovFile)); int iRetval = 0; iRetval = ov_open(pFile,&ovFile,NULL,0); if (iRetval != 0) { fclose(pFile); return; } } Platform Info: Win32, Visual Studio.Net 2003. The app above is a Win32 console application, which uses Single Threaded Static linkage to CRT libraries. (I also tried Multithreaded DLL linkage,...