Wmalive example - Vb6 & WinXP - Error?

Started by SiL,

SiL

I tried to compile the wmalive VB example supplied with basswma, everything seems ok... but when i try to listen with Windows Media Player the wmalive application crashes...
Could some1 tell me why?
thanks in advance

Ian @ un4seen

The VB callback support trick is not enabled in BASSWMA, so it crashes in the example's ClientConnect callback function. It's been enabled for BASSWMA 1.8, but in the meantime you can simply disable the example's client notification :)

Remove this line...
Call BASS_WMA_EncodeSetNotify(handle, AddressOf ClientConnect, 0)   ' setup client notification