Re: VB6 vs DirectX

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Alfie [UK]" <alfie@xxxxxxxxxxxx> wrote in message
news:m0e4s25q9nn8mo96akqgr0rkjmr20bo12d@xxxxxxxxxx
On Thu, 1 Feb 2007 09:40:01 -0800, Lorin
<Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Loaded latest DirectX.
Trying to run sample VB code DMDrums and get error message:
Cannot initiaialize DirectMusic
Suggestions please.

VB6 can only develop with DirectX versions up to DX8.1b.

MS decided not to include VB6 type libraries for DX9 and up, you have to
use VB.NET/VB2005 and DX9 managed code instead (in which case why not
just switch to C++). If you develop using VB6/DX8 it still works
properly on a PC with DX9 just you can't use any of the DX9 features.

If you want to continue with VB6 and DirectX you'll need the DX8.1 SDK
which is not easy to find nowadays although this seems valid;
www(dot)electromanuk(dot)com(slash)directx(slash)dx8sdk.zip (165Mb)
[munged to stop news leechers hitting it and causing bandwidth load].
--
Alfie [UK]
<http://www.delphia.co.uk/>
I'm not conceited. Conceit is a fault. I have no faults.


Just curious. Why is the dx8 SDK required. I use dx8vb in my programs and don't have the SDK

Galen

.



Relevant Pages

  • Re: VB6 vs DirectX
    ... Trying to run sample VB code DMDrums and get error message: ... VB6 can only develop with DirectX versions up to DX8.1b. ... MS decided not to include VB6 type libraries for DX9 and up, ... If you want to continue with VB6 and DirectX you'll need the DX8.1 SDK ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 & DirectX 9
    ... there is no interface available between VB6 and managed DirectX. ... If you want to work in VB6 with DX8, assuming that you can find a copy ... tutorials but his site has been down for some time. ...
    (comp.lang.basic.visual.misc)
  • Re: nvidia 6100 gegen GF4 TI4200?
    ... >Die GF4 Hardware kann DX9 Grafikeffekte wie HDR, ... >somit auch auf der alten Karte. ... Ich hatte das bisher so verstanden, das, wenn die Treiber DirectX 9 ...
    (de.comp.hardware.graphik)
  • Re: Initial Startup question 1) about DX9 2) about CD boot
    ... I've searched the mentioned site using 'directx' and 'direct', ... And I do remember I read somewhere on the microsoft site that DX9 will only ... Is the DX9 component u mentioned created by a third ... DirectX stuff includes many different components. ...
    (microsoft.public.windowsxp.embedded)
  • RE: MMControl and PCM audio
    ... There is a VB6 sample called vbPlayAudio that will play PCM files. ... part of the DirectX 8.1 SDK, but the samples were pulled from DX9. ...
    (microsoft.public.vb.controls)