I am working on a DirectSound application which needs to work both on WindowsXP and Windows7. The objects used are simply sound buffers, but are currently early bound:
Private dx As DirectX8
Private ds As DirectSound8
Private mdsBuf As DSBUFFERDESC
Private mdsBuffer(7) As DirectSoundSecondaryBuffer8
Firstly, how do I late bind these using CreateObject? What are the ProgId's? I guess something like:
Dim dx As Object
Set dx = CreateObject("DIRECT.DirectX8.0")
Secondly, I believe Windows7 uses DirectX 11. Are there equivalent ProgId's? Or is the object model different?
Thanks!