tags:

views:

42

answers:

0

I'm a beginner with Bass (working right now on an MFC project) and I'm trying to figure this out.

I saw that I should start with the BASS_Init function, but I found two example, one with 4 parameters and one with 6.

When I trying to use the function, it only gives a 5-parameter version with no overloads, and when I try to use it, my app crashes. Is there a good example for using BASS on MFC that I could learn from? Or where do I find the docs for the API?

The line is:

BASS_Init(-1,44100,0,this->m_hWnd,NULL);

I've tried:

BASS_Init(-1,44100,0,GetSafeHwnd(),NULL);

but it still crashes