Hi dear users specially dear Andrew.
I tired to create new app based on QCad using this question (http://www.qcad.org/rsforum/viewtopic.php?f=30&t=2675). Every thing is OK and I changed some of scripts and added some new scripts to my own app.some of them was deleted.
But now when I load a dxf file in my app and in QCad itself(without any changes) results are different !
Here is the result from QCad itself(loaded normally) :
And here is the result of my own app(not normal):
I also attached my dxf file.
I deleted qcadcamscripts.dll qcaddwg.dll qcadproscripts.dll from plugins folder.