Quote:Original post by Pauluss86
Just grabbed the code, and will try to compile in a moment. Could you place an already built lib in the downloads section on your Google Code site?
The plan is to do a proper binary build when I label a 0.1 release version. That'll happen when I'm fairly content that grievous omissions and mistakes in D3D 9 core and basic D3DX (like the stuff Tape_Worm brought up) is repaired. I also don't want to make massive reorganizations after 0.1, if at all possible. For example, a whole bunch of stuff just got moved around so that D3D 10 can be slid in easily when it's ready. (Yeah, I had a change of heart on the D3D 10 thing. D3D9 Ex might just show up some time too.)
No promises on when that will happen, but I think we're getting fairly close. Delay loading and the D3D(X) version check work now. Try renaming the d3dx9_34.dll to check that out. We moved to June 07 SDK, by the way. There is a wiki page on retargeting it to a different SDK version if you need to.
At this point, notify me if you notice
any missing functionality from the stuff that maps to Direct3D 9 core functionality. (Except Resource and BaseTexture. I know they're completely bare, and it will be fixed soon.)
As far as 64 bit, I'm not set up for 64 bit development at all. If someone who is would like to check it out (Washu?) that'd be awesome.
And I almost forgot one last little thing. For various reasons, particularly to support tools better, you now have to explicitly load certain parts of DirectX. Right now that means calling SlimDX.Direct3D9.Direct3D.Initialize and SlimDX.DirectInput.DirectInput.Initialize before you do anything else. This is also where the missing DLL check kicks in, so if you want to handle that, you'll wrap those calls in a try. You'll get exceptions if you forget this bit, so don't. Calling Terminate is optional though, so do or don't as you like. (For the curious, these functions are causing setup and tear down of parent level interfaces, like IDirect3D9.)
[Edited by - Promit on July 2, 2007 3:00:18 AM]