This is my forst post in this forum, so be patient with me, if it's the wrong section for this.
First I must say, that I allready wrote applications and small games in Java and OpenGL and since ~4 months I learn C++ and DirectX9.
Due to the fact, that I wanted to make something different (the last I did, was a small 3D Environment in C++ & OpenGL, but I didn't finished it).
This gave me the idea of making a little 2D Environment with lighting (shadows) and so on.
Also I wanted and fortunately want to learn HLSL.
After some time of "googleing" I found this topic here in this forum and there I read a little tutorial about simple shaders in DirectX 9 from "Two Kings".
I managed it to "learn" something about the code and the HLSL, but unfortunately my code doesn't work properly.
I make a MessageBox if CreateVertexShader() failed, it doesn't appear.
I make a MessageBox if CreatePixelShader() failed, it appear! And my programm is terminated.
So I need your help, because I didn't find much about DirectX 9 Shader on the internet.
You can look up my code at github.
If you want me to insert the relevant code here, I will do so. http://public.gamedev.net//public/style_emoticons/default/smile.png
edited my problem description
Edited by N1ghtDr34m3r, 05 September 2012 - 01:37 PM.