Hello. Not certain this post belongs here, got a little confused about vorbis-dev / vorbis. If it doesn’t, please tell me so :) Well, on to the problem. I’m adding ogg support into an audio-player. For some reason I want it using vorbisfile threw the dll’s. It works just fine with the debug dll. No problems what so ever. But with the Retail dlls, when I call ov_open my memory gets messed up. In file: ov_open(……..); log_message(“do I live ?”); The constant “do I live ?” string even gets messed up. Something like “D#£%&” will be written in the logs. Then the program crashes naturally. I’ve searched threw the archives and found similar problems, but none of the solutions solve my problem. When I “link” against the lib files it all works fine, both Debug and Retail. I’ve tried both the newest sdk and a nightly build some days ago, exact same problem. Some info about the app that may be of importance: It uses threads. In Debug it uses Debug Multithread Dlls and in Retail, Multithread Dlls. Hope that made any sense. /Joel Klinghed _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I had a *very* simliar problem under 2k/VS6/rc1 and wasn't able to reach any conclusion. If your interested I can provide details. IIRC my program segfaulted on a vorbis-call with a DLL but the *exact same code* worked with a lib file. I switched to static linking <grin> dan --- Joel Klinghed <the_jk@yahoo.com> wrote:> Hello. > > Not certain this post belongs here, got a little > confused about > vorbis-dev / vorbis. If it doesn?t, please tell me > so :) > > Well, on to the problem. > > I?m adding ogg support into an audio-player. > For some reason I want it using vorbisfile threw the > dll?s. > It works just fine with the debug dll. No problems > what so ever. > But with the Retail dlls, when I call ov_open my > memory gets messed up. > In file: > ov_open(??..); > log_message(?do I live ??); > The constant ?do I live ?? string even gets messed > up. Something like > ?D#£%&? will be written in the logs. Then the > program crashes naturally. > > I?ve searched threw the archives and found similar > problems, but none of > the solutions solve my problem. > > When I ?link? against the lib files it all works > fine, both Debug and > Retail. > > I?ve tried both the newest sdk and a nightly build > some days ago, exact > same problem. > > Some info about the app that may be of importance: > It uses threads. > In Debug it uses Debug Multithread Dlls and in > Retail, Multithread Dlls. > > > Hope that made any sense. > > > /Joel Klinghed > > > > > > > >====Daniel "OmegaDan" Morrione [dan@morrione.net] thehumbleguys music group - "Everything but love songs" Scoring / Sound Design / Audio Programming thehumbleguys.com [omegadan@thehumbleguys.com] - Monkelectric - Internationally ignored musicians. monkelectric.com __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
There are some known problems with the DLLs. I have these fixed in my local environment, however the organization my build environment is different from the repository. As soon as I figure out the differences, I'll propose a fix. *********** REPLY SEPARATOR *********** On 9/4/2001 at 11:08 PM Joel Klinghed wrote: Hello. Not certain this post belongs here, got a little confused about vorbis-dev / vorbis. If it doesn’t, please tell me so :) Well, on to the problem. I’m adding ogg support into an audio-player. For some reason I want it using vorbisfile threw the dll’s. It works just fine with the debug dll. No problems what so ever. But with the Retail dlls, when I call ov_open my memory gets messed up. In file: ov_open(……..); log_message(“do I live ?”); The constant “do I live ?” string even gets messed up. Something like “D#£%&” will be written in the logs. Then the program crashes naturally. I’ve searched threw the archives and found similar problems, but none of the solutions solve my problem. When I “link” against the lib files it all works fine, both Debug and Retail. I’ve tried both the newest sdk and a nightly build some days ago, exact same problem. Some info about the app that may be of importance: It uses threads. In Debug it uses Debug Multithread Dlls and in Retail, Multithread Dlls. Hope that made any sense. /Joel Klinghed --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.