BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do you used FastMM with BCB2006

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Simon Farmer
Guest





PostPosted: Tue Jan 10, 2006 4:01 pm    Post subject: How do you used FastMM with BCB2006 Reply with quote



Hi,

I was under the understanding that BCB2006 used FastMM if you created a VCL
application but today I find this isn't true. I've created a simple project
and inspected it and it contains the line:-

<property category="win32.*.win32b.ilink32" name="param.objfiles.3"
value="memmgr.lib"/>

When running the application with codeguard it references borlandmm.dll.

How do you change a C++ application to use fastmm?

Thanks

Simon


Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Tue Jan 10, 2006 4:43 pm    Post subject: Re: How do you used FastMM with BCB2006 Reply with quote



Simon Farmer wrote:

Quote:
When running the application with codeguard it references
borlandmm.dll.

How do you change a C++ application to use fastmm?

I don't think you can. The VCL libraries use FastMM because they are
written in Delphi but I think (though I could be wrong) that the C++
linker still uses the old memory manager.

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html

Back to top
Roddy Pratt
Guest





PostPosted: Tue Jan 10, 2006 4:55 pm    Post subject: Re: How do you used FastMM with BCB2006 Reply with quote




"Simon Farmer" <simon-farmer (AT) first-degree-systems (DOT) com> wrote

Quote:
Hi,

I was under the understanding that BCB2006 used FastMM if you created a
VCL application but today I find this isn't true. I've created a simple
project and inspected it and it contains the line:-

property category="win32.*.win32b.ilink32" name="param.objfiles.3"
value="memmgr.lib"/

When running the application with codeguard it references borlandmm.dll.

Fastmm should be used by default. Set breakpoints in "GETMEM.INC" which
contains the source, and see.

When you use codeguard, it seems to pull in borlndmm.dll. I believe that DLL
now contains fastmm also...

However, Fastmm leak tracking doesn't work directly with BDS2006. You'll
need to install the fastmm dlls from the fastmm distribution kit (NOT part
of BDS2006), and make sure "use dynamic RTL" is enabled.

- Roddy





Back to top
Palle Meinert
Guest





PostPosted: Tue Jan 10, 2006 5:02 pm    Post subject: Re: How do you used FastMM with BCB2006 Reply with quote

Quote:
When running the application with codeguard it references borlandmm.dll.

How do you change a C++ application to use fastmm?

taken from a dump of borlandmm.dll


"FastMM Borland Edition © 2004, 2005 Pierre le Riche / Professional Software
Development"

So it seems borlandmm.dll is fastmm, which just got borlanded

/Palle



Back to top
Sebastian Ledesma [Solidy
Guest





PostPosted: Tue Jan 10, 2006 5:05 pm    Post subject: Re: How do you used FastMM with BCB2006 Reply with quote

As I know borlandmm.dll= fastmm.dll now.

Saludos
Sebastian

"Simon Farmer" <simon-farmer (AT) first-degree-systems (DOT) com> escribió en el
mensaje news:43c3d9c2$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

I was under the understanding that BCB2006 used FastMM if you created a
VCL application but today I find this isn't true. I've created a simple
project and inspected it and it contains the line:-

property category="win32.*.win32b.ilink32" name="param.objfiles.3"
value="memmgr.lib"/

When running the application with codeguard it references borlandmm.dll.

How do you change a C++ application to use fastmm?

Thanks

Simon




Back to top
Vladimir Stefanovic
Guest





PostPosted: Tue Jan 10, 2006 5:59 pm    Post subject: Re: How do you used FastMM with BCB2006 Reply with quote

I tried to find with Dependency Walker "where" is FastMM,
but I also found references to borlndmm.dll.

This really must be cleared out by someone who knows the
whole story.

Can OLD projects use the NEW memory manager?




--
Best regards,
Vladimir Stefanovic


Back to top
Sebastian Ledesma [Solidy
Guest





PostPosted: Tue Jan 10, 2006 6:09 pm    Post subject: Re: How do you used FastMM with BCB2006 Reply with quote

Hi:

Check this articles at BDN:
The New Memory manager in BDS2006:
http://bdn.borland.com/article/0,1410,33416,00.html
Using the old Memory manager (Delphi 7) in BDS2006:
http://cc.borland.com/Item.aspx?id=23580

Saludos
Sebastian

"Vladimir Stefanovic" <antivari (AT) po (DOT) sbb.co.yu> escribió en el mensaje
news:43c3f590$1 (AT) newsgroups (DOT) borland.com...
Quote:
I tried to find with Dependency Walker "where" is FastMM,
but I also found references to borlndmm.dll.

This really must be cleared out by someone who knows the
whole story.

Can OLD projects use the NEW memory manager?




--
Best regards,
Vladimir Stefanovic




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.