First it fires an error saying IDirectSoundBuffer already defined in pub.directx and now it refuses to import that module. Weird.yoxola wrote:Remove import pub.dsoundCode: Select all
Compile Error Identifier 'IDirectSoundBuffer' not found.
Here's the dsound.mod prototype:yoxola wrote: Compile stops at
If DirectSoundCreate(Null, Varptr DirectSound, Null) < 0
with this messageBelow is the piece in dsound.bmx related to used methods, thanks.Code: Select all
Compile Error Expreion for 'Var' parameter must be a variable
Code: Select all
Global DirectSoundCreate( guid:Byte Ptr,dsound:IDirectSound Var,unk:Byte Ptr )"win32"=GetProcAddress( _ds,"DirectSoundCreate" )
Code: Select all
DirectSoundCreate%(lpcGuidDevice@*,ppDS:IDirectSound*,pUnkOuter@*)S="DirectSoundCreate@12"