DirectX Export Script for Blender v. 2.71
The x file makes sense, it has a 1 to 1 correspondence of vertex to normals. If you use smooth shading, you should fix your rendering code.

The rendering code:
1. Upload vertices array , normals array and  UV's array.


Draw triangles using the vertex indexes provided


It's rather simple, look here:
http://www.songho.ca/opengl/gl_vertexarray.html