[AD] [WIN] multiple DirectX versions support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Here's what I found on this topic:
- a DirectX5-compiled version of Allegro doesn't work with the DirectX3
runtime libs,
- it's possible to target a different DirectX version for each component
(DirectDraw, DirectInput, DirectSound),
- moreover, it seems to be possible to target a different DirectX version
for each *file*: I tried a DirectX5-compiled mouse with a DirectX3-compiled
keyboard and vice-versa, the DirectX3-compiled code worked, the
DirectX5-compiled code didn't.

It seems that if we properly insulate the code, we can mix the DirectX
versions. So, a DirectX5 joystick would be easy to add, whereas the
DirectSoundCapture support would need more work.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/