标签:
dlldelphiit |
分类: 编程资料 |
出现此问题,一般是传递了一字符串或动态数组给dll引起的。
Delphi的联机帮助解释如下:
ShareMem is the interface unit for the BORLANDMM.DLL memory manager, which allows modules to share dynamically allocated memory. BORLANDMM.DLL must be deployed with applications and DLLs that use ShareMem. When an application or DLL uses ShareMem, its memory manager is replaced by the memory manager in BORLANDMM.DLL.
Note
Linux uses glibc's malloc to manage shared mem