SaveAs to EDRW fail in SW2007

I have a C++ program which use

 

IModelDoc2Ptr -> SaveAs4

 

To get eDrawing files from part, assemblyand drawing. While it works fine with SW 2006 and olderrelease.

When I run it in SolidWorks 2007, it works fine with part andassembly, fails with drawing with error:
"BAD EDRAWING VERSION".

 

Is this API still supported in SolidWorks2007? If not, what will be the preferred way to get the *.EDRWfiles?

Thanks,
Kwok

SolidworksApi macros