[原文]
【程序编程相关:Authorware UCD 开发大揭秘】 【推荐阅读:Authorware UCD 开发大揭秘】that is correct. a bpl is a dll. (but not all dlls are bpls.) 【扩展信息:Authorware UCD 开发大揭秘】 > but i still found some different, such as that i can create a > object from the host exe and that pass to a bpl and modify it safely, but > if i do same to a dll, i can not modify any referenced property of the object. when you use packages, there is only ever one copy of any unit in memory. one copy of forms, one copy of sysutils, one copy of system (well, most of it), one copy of stdctrls, etc. all class-related operations, such as the "is" and "as" operators, rely on class references. class references are actually just addresses. they point to definitions for the layouts of the classes internals. (they point to whats called the virtual-method table, the vmt.) two classes are the same if they point to the same vmt -- if the addresses are equal. when you have a class defined in the exes copy of stdctrls and the same class defined in a dlls copy of stdctrls, those classes will really ... 下一页