Linking to DirectSound

BlitzMax Forums/BlitzMax Beginners Area/Linking to DirectSound

REDi(Posted 2005) [#1]
Can anyone see why I cant get the SetCooperativeLevel method to work in directsound? This has been bugging me for hours.



FEATURE REQUEST... It would be nice if Graphics() returned the hWnd.


skidracer(Posted 2005) [#2]
The SetCooperativeLevel method is the fourth method in the virtual function table, by commenting out the two methods above it the compiler thinks it is the second and most likely invoking GetCaps instead.


REDi(Posted 2005) [#3]
skidracer I could kiss you, works perfectly now, thanks mate :)

I assumed it was referenced by name, shows what I know