![]() |
【转帖】memory managemen
memory management
memory management hi, is it possible to supply customised new/delete operators for the dwgdirect? i know it is possible to supply the functions odrxalloc odrxrealloc odrxfree but these only appear to be used sometimes. there does not appear to be possible to pass down any template traits to the library. (ie) in the loki tradition. regards, hanh hi, i'm fan of loki too. but dwgdirect and objectarx are not template libraries. i think you have some "hooks" where you can place your own memory management. one is the class exundocontroller. others may be oddbpagecontroller, oddbfiler, etc... chudomir you can define your own global new and delete operators (make sure you do not link in our alloc lib if you do this). if you do this, along with defining odrxalloc, odrxrealloc, and odrxfree, you should get access to all dwgdirect memory allocations. |
所有的时间均为北京时间。 现在的时间是 10:45 AM. |