Could you attach the .blend file, TheComet ? That way I can test the export. Just a note, if using subsurfacing, the object has to be converted to a mesh before exporting. So in object mode, press ALT+C and delete the original (the cube).
But I found a couple of errors in the old export so it probably won't give you the results you expect but you can still test if the cube is present- some of the coordinates are backwards in whats called a frame transform matrix (this is due to a difference in OpenGL and DirectX - blender is opengl - I though I caught it before, but it occurs more than once! I think I fixed it for the new export).
Anyway, a copy of your .blend file will allow me to test it more. I think you sent me a kirby file once... or maybe it was someone else. I was able to export it without the cubes showing by converting them to a mesh - but the animation caused some problems... I think I fixed the key problem with animation in the export.
I've attached a zip file that contains a .blend file and a .x file of 5 subsurfaced cubes scaled and animated. I converted them to a mesh and deleted the original. It has an animation as well - though lame! One thing I also noticed (and it may be different in later version of Blender - i'm still using 2.41) the object data block stays in memory even when you delete the object. So if the mesh name doesn't match exactly to the object data block, you can get a different shape (one you previously deleted). So, make sure you change the object name to match the data block name, that way you should get what you expect in the export. I was wondering why I was getting a cube only then I noticed the name of the object was the same as an old data block that was a cube. When I changed the name of the object to the data block I wanted, everything was fine.
Enjoy your day.