FreeMM vs ShareMem [英] FreeMM vs ShareMem

查看:240
本文介绍了FreeMM vs ShareMem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有很多dll库用delphi和c ++构建器编写,并使用sharemem和borlndmm.dll。



第3方库中的一个分配问题有人可以为我解释共享内存管理器吗?

是SimpleShareMem的一个替换代码对于ShareMem?

我们可以停止部署borlndmm.dll吗?

我们还要用c ++ - 库做些什么?

可以有些库使用ShareMem和一些SimpleShareMem?



谢谢,
-Vegar

解决方案>

我想我在这个主题中找到了我的大部分问题的答案: borland.public.delphi.language .basm




(a)SimpleShareMem.pas / FastMM4.pas,或使用

(b)ShareMem.pas(即, borlndmm.dll)

您不能混合使用两种不同的共享方式。



We have a lot of dll-libraries written in both delphi and c++ builder, and use sharemem and borlndmm.dll.

An aligment-issue in a 3thparty library forces us over to the new memorymanager in delphi 2007.

Can someone please explain 'shared memory manager' for me?
Is SimpleShareMem a dropin replacement for ShareMem ?
Can we then stop deploying borlndmm.dll?
Do we have to do something with the c++-libraries as well?
Can some libraries use ShareMem and some SimpleShareMem?

Thanks, -Vegar

解决方案

I think I found the answer to most of my questions in this thread: borland.public.delphi.language.basm:

Either use
(a) SimpleShareMem.pas/FastMM4.pas, or use
(b) ShareMem.pas (i.e. borlndmm.dll)
You cannot mix the two different sharing methods.

这篇关于FreeMM vs ShareMem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆