When performing my own file writes I usually just use a static global structure to write the header out.  eg. (C++ code)  char gacDDSSignature[] = {'D', 'D', 'S', ' '};  DDSURFACEDESC2 gsDDSHeader =  { 0, // dwFlags 0, // dwWidth ... .. etc.. }  EBoo...  
[Read More]