Original Post
Ok, I have been reading up on lots and lots of pages on the web about using DirectX. I have created a device using both DirectDraw and Direct3D. All I want to do is put a static PNG image with transparency (not just on/off transparency, but every pixel has an alpha channel) on the screen. That is it. It seems like everything is geared towards the 2 extremes. Either fullblown 3D (which I dont want or need), or 2D things like pong, which use regular bitmaps with no transparency, or colour code transparency where a certain colour is rendered transparent. Neither of that is what I want. I just want a png, on the surface, that is it, and I am coming up blank. I saw a few posts regarding DX8 such as this, "Direct3dx can load in png files that have alpha channels int an id3dxtexture9 interface. look up d3dxLoadTextureFromFileEx". I am using C#, and I do not see any of those classes/structs/API calls or whatever they are. It seems like a very basic question, with a more than likely basic answer, but I cannot for the life of me find the answer. A bit of background on my application: Originally developed in C# using the default GDI+ graphics, but was just too darned slow. So I moved to XNA because it seemed the perfect solution. Problem is it is not compatible with any older hardware, or even some new hardware, and requires about 5 different redistributables to be of any use (.NET 2.0, VC++ 2005, XNA 2.0, DX + Optional DX files through the web installer which cannot be included as a redistributable). So I am trying to move to OpenGL or DirectX. Which I do not know. I donwloaded the Tao Framework for OpenGL, but in Vista with Aero, it renders all wrong. If Aero is off, it renders fine, but I want an all inclusive solution which doesnt force people to take Aero off. And it is a windowed application, so that is why it wont work. I know in fullscreen mode, Aero releases its hooks in the video card allowing OpenGL to work, but while Aero is running it just doesnt work. So now I am exploring DirectX. I have my device setup, and I can clear and flash random colours on the screen. All I need now is some way to put "image.png" at location 0,0 with a size of 100,100 for example. Any help? Thankyou in advance.