![]() |
【转帖】memory leak dwgdirect 2.0.2
memory leak dwgdirect 2.0.2
memory leak dwgdirect 2.0.2 hi, i have created a dll which allows me to load a dwg, and then render the contents of this dwg onto a memorydc. this works perfectly, only when i close the program i use for testing this dll i get a large list of memory leak messages from visual studio 6.0. i do tell the dll to release the oddbdatabaseptr and when debugging i see that the code where is says m_pdb.release(); is reached. this however is to no avail as i keep getting this large list of memory leak messages. i am using dwgdirect 2.0.2, version 2.0.3 seems not to work properly for some of the things i want to do! the older version that could be downloaded from the web-site (not the ftp-site) somewhere in februari 2006 did not have this problem(?), but that version had a bug when rendering texts which are only partially visible inside the viewport. if anybody is willing to have a look at my little project i would be most gratefull as i do not have a clue what i am doing wrong or what i am forgetting. i have attached a zip-file with the projects and source for my project. kind regards, jeroen posch. attached files |
所有的时间均为北京时间。 现在的时间是 04:34 PM. |