[.net] MDX - confused
Hi all,
I am getting starting with MDX, specifically for VB.NET. I am a little confused about all this MDX 1.0, 1.1, 2.0, XNA...Microsoft really made it as hard as possible for newbies.
Anyways, I currently have MDX version 1.0.2902.0. I cannot do anything related to DX8 or 9. I can use Directdraw fine, but DirectXEvent8 can't be found.
I have added the references to my project and imported them to my class. My app runs fine now, but I am trying to add DirectInput. I want to use the SetEventNotification(), but I am having a ton of trouble. I want an event to fire instead of me doing Pooling(). Is there any example or any tips of how I can enable DX8 and 9 to use?
This is what i want, but this properties/methods don't exist for me:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dx81_vb/directx_vb/Intro/ProgramVB/ClassRef/directxevent8.dxcallback.asp
Thanks a lot.
Zach
Well I was able to the find directx8 library - udner the COM references. Are these what I should be using? My understanding was I wanted to use purely the MDX (.net references?)
Thanks.
Thanks.
It sounds like an old VB6-era library and not MDX. I've never heard of a version of MDX for DX8, only DX9.
Anyway there are really only three versions of DirectX for .Net:
MDX 1.1 - Discontinued, but the closest you'll get to a real wrapper for DX9, most of the functions take the same parameters as their unmanaged counterparts. Unfortunately I've heard it doesn't work on 64-bit operating systems, and it looks like it never will(Thanks MS).
SlimDX - This is an open source wrapper, similar to MDX but with support for both DX9 and 10. It's managed by several people here on GameDev.
XNA - Microsoft's "new" API, works on Windows and XBOX360(although you need a subscription). Abstracts a lot of things to make it easier to develop with. There's also an editor that allows you to drag-and-drop different components, similar to the GUI editor, but for games.
[Edited by - Scet on January 12, 2008 9:21:24 PM]
Anyway there are really only three versions of DirectX for .Net:
MDX 1.1 - Discontinued, but the closest you'll get to a real wrapper for DX9, most of the functions take the same parameters as their unmanaged counterparts. Unfortunately I've heard it doesn't work on 64-bit operating systems, and it looks like it never will(Thanks MS).
SlimDX - This is an open source wrapper, similar to MDX but with support for both DX9 and 10. It's managed by several people here on GameDev.
XNA - Microsoft's "new" API, works on Windows and XBOX360(although you need a subscription). Abstracts a lot of things to make it easier to develop with. There's also an editor that allows you to drag-and-drop different components, similar to the GUI editor, but for games.
[Edited by - Scet on January 12, 2008 9:21:24 PM]
Thanks for your reply.
Do you know if MDX version 1.0.2902.0 is 1.1? I can not find a download for 1.1 from msdn.com or google search.
I will check out the SlimDX.
Thanks.
Do you know if MDX version 1.0.2902.0 is 1.1? I can not find a download for 1.1 from msdn.com or google search.
I will check out the SlimDX.
Thanks.
Yes 1.0.2902.0 appears to be the last version(although I have a 1.0.2911 version of D3DX). I think the reason for the "1.1" is that when it was developed there was only .Net 1.0 and 1.1, and it only worked with .Net 1.1(and over, of course).
Quote:Original post by Scet
Yes 1.0.2902.0 appears to be the last version(although I have a 1.0.2911 version of D3DX). I think the reason for the "1.1" is that when it was developed there was only .Net 1.0 and 1.1, and it only worked with .Net 1.1(and over, of course).
Yes there is also a good explanation of all the file number differences here:
MDX1.1 - wraps the d3dx9_nn.dll functions. Because this DLL changes every SDK release there is also a new MDX wrapper each SDK.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement