CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

AutoCAD 2025 开发者帮助

Be Responsible for Memory Management

2024-5-18 19:26| 发布者: admin| 查看: 136| 评论: 0|原作者: admin|来自: AutoCAD

Be Responsible for Memory Management

水平

要求

适用于

ObjectARX applications

Because AutoCAD has limited resources to share among the applications it runs, it is important to free any resources allocated for you when they are no longer required. Examples include iterators, temporary objects, and strings and arrays of various types returned from APIs. The API documentation specifies when it is the caller's responsibility to destroy resources allocated during the call.

If a contract is specified in the documentation, you should adhere to it. For example, no modal dialogs should result from a call.worldDraw()

父主题:

  1. ObjectARX 编程实践

路过

雷人

握手

鲜花

鸡蛋

最新评论

群   号:715888130

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1   苏公网安备32011402011833)

GMT+8, 2025-6-1 15:04

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部