So,I already check all D3D calls return values.I also went directly to the draw call,and all the functions that set the buffers,transforms etc.It sends the right stuff,but nothing.
I'm gonna disable culling and change the cube to a simple polygon...that sounds worthless...but since i got nothing better to do...
UPDATE: Well,now i see a line...gonna scale the polygon down to see what happens(however something is wrong,the polygon should be colored,but it's not,it's the same color as the backbuffer)
UPDATE 2: Now when trying to run the same project in VS 2013 I get en exception(which guess what,points to no code(msvcr100d)).
After all of this i found that it's better to just better put the library code into an exe project that just creates a window an render to it.I'll go through all the code again,and when the bug gets fixed,I'll just get the library code out of the exe project and put it in a .dll project.