Here's the code to the Windows version of LoadSkymap.cpp (assume hTile, vTile, dphi and dtheta = 30).
Offered freely and without warranties or restrictions to help others seeking a minimal MFC compliant codebase onto which your own features and functionality can be added.
Offered freely and without warranties or restrictions to help others with their OpenGL projects, Mesh3DS is an object-oriented translation of View3DS by David Farrell, and features basic 3D Studio MAX mesh file decoding as well as Compressed TGA and BMP Texture file support.
Simply add the Mesh3DS Project to your MFC compliant Visual C++ 6.0 Workspace and use code similar to this to parse the 3DS mesh file and display the mesh onto your current OpenGL Rendering Context.