24 May '13 - 01:14 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: BASS_WMA_StreamCreateFile crashes  (Read 1040 times)
ct16k
Posts: 2


« on: 10 Aug '04 - 20:42 »
Reply with quoteQuote

I ported the masm includes to fasm, and wrote a small app to test them. Everything works fine except when I try to load a wma, which crashes the app. I uploaded the example to http://theos.ziyi.org/zip/wma.zip - I'm hoping maybe someone will take a look at it and tell me what I did wrong (my system, the only one I tested the app on, is a WinXP box with WM9 - I even reinstalled the codecs, but still it crashes). Thanks in advance.
Logged
Ian @ un4seen
Administrator
Posts: 15270


« Reply #1 on: 11 Aug '04 - 14:46 »
Reply with quoteQuote

I've not tested your code, but it looks ok. Does it crash with every WMA file you try to play, and do you have any details on the crash? A drwtsn32.log entry would be handy.
Logged
ct16k
Posts: 2


« Reply #2 on: 12 Aug '04 - 19:09 »
Reply with quoteQuote

Yes, I got the same result with every wma I tried. I reposted the archive (http://theos.ziyi.org/zip/wma.zip) with just about everything dr. watson has to offer (log, mini-dump and appcomat.txt). I left out the BASS dlls because of the size, but I use the latest (available in the download section).
Logged
Ian @ un4seen
Administrator
Posts: 15270


« Reply #3 on: 12 Aug '04 - 21:40 »
Reply with quoteQuote

According to the log, it's a stack overflow in the Windows Media modules. Do you have the problem with the precompiled examples?

I see your example EXE has a very small stack reserve - only 4K (as opposed to the 1MB default of VC++, for example). Try increasing that.
« Last Edit: 12 Aug '04 - 21:41 by Ian @ un4seen » Logged
ct16k
Posts: 2


« Reply #4 on: 13 Aug '04 - 18:50 »
Reply with quoteQuote

I increased the stack size and it works - it seems it requires at least 64k. Thanks for the tip.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines