BASS not compatible with a certain timer...

Started by SaxxonPike,

SaxxonPike

For some reason, my program crashes every time while using the BASS_SamplePlayEx or BASS_SamplePlay command.  The funny thing is, that's only while it's compiled.  Uncompiled it works just fine.

And under all circumstances, it works fine WITHOUT the special API timer I use (timeKillEvent / timeSetEvent)

I'm not quite sure why it does this, maybe someone can help me out?  ???

Ian @ un4seen

Do you have any details on the crashes? eg. address, registers, call-stack.

Anyway... following your homepage link, I see you're using VB. I've never used VB, but I know it's multi-thread support is not great. I don't know if that extends to multimedia timers - my guess is it probably does.

If you only call BASS functions in the timer, then I think you should be ok, but if you use any VB stuff, you may have to use a bog-standard timer :)

Maybe a VB user can help?

SaxxonPike_

I realised what it was.  I can't call much inside the Multimedia tiemr thingy.  No funtions relating to BASS can be used, but strangely DirectX calls DO.