And another one thing - now I must use Windows 8 SDK to use new D2D, but here is no D3DX.h, so I must find new analogs for old functions such as D3DXMatrixPerspectiveFovLH and D3DXCreateTextureFromFile
Does someone now which functions I can replace these?
By the way. I have tested you code and it work great after few small corrections regarding CreateWindow function. Thanks a lot for this, but I still don`t know whixh functions to use instead of D3DX functions. Could you please help me with that question?
Since D3DX is retired you (must) can use DirectX Tool kit, DirectX Tex and DirectXMath respectively for graphics, texture and math function ad structures.
If you still want to use D3DX you must install the June 2010 DXSDK and manually configure the vs project: http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275.aspx