資源簡介
極速瀏覽器源代碼,功能強大,是目前開源的瀏覽器源代碼中功能最強大和最完全的一款。完整的源代碼,全免費。

代碼片段和文件信息
/*
Fast?Memory?Manager:?BCB?support?1.01
Description:
?FastMM?support?unit?for?BCB6?1.0.?Loads?FastMM4?on?startup?of?the?Borland?C++
?Builder?application?or?DLL.
Usage:
?1)?Under?the?Project?->?Options?->?linker?menu?uncheck?“Use?Dynamic?RTL“
????(sorry?won‘t?work?with?the?RTL?DLL).
?2)?Add?FastMM4.pas?to?your?project?and?build?it?so?that?FastMM4.hpp?is
????created.
?3)?Add?FastMM4BCB.cpp?to?your?project.
?FastMM?will?now?install?itself?on?startup?and?replace?the?RTL?memory?manager.
Acknowledgements:
?-?Jarek?Karciarz?Vladimir?Ulchenko?(Vavan)?and?Bob?Gonder?for?their?help?in
???implementing?the?BCB?support.
Notes:
??FastMM?cannot?uninstall?itself?under?BCB?so?memory?leak?checking?is?not
??available.?Also?since?it?cannot?be?uninstalled?you?should?only?use?it?in
??dynamically?loaded?DLLs?that?will?be?sharing?the?main?application‘s?MM?-
??otherwise?memory?will?be?leaked?every?time?you?unload?the?DLL.?Unfortunately
??there?is?nothing?I?can?do?about?the?situation.?The?__exit?procedure?in?exit.c
??calls?all?finalization?routines?before?it?has?properly?freed?all?memory.?With
??live?pointers?still?around?FastMM?cannot?uninstall?itself.?Not?a?good
??situation?and?the?only?solution?I?see?at?this?stage?would?be?to?patch?the
??RTL.
Change?log:
?Version?1.00?(15?June?2005):
??-?Initial?release.?Due?to?limitations?of?BCB?it?cannot?be?uninstalled?(thus
????no?leak?checking?and?not?useable?in?DLLs?unless?the?DLL?always?shares?the
????main?application‘s?MM).?Thanks?to?Jarek?Karciarz?Vladimir?Ulchenko?and?Bob
????Gonder?for?their?help.
?Version?1.01?(6?August?2005):
??-?Fixed?a?regression?bug?(Thanks?to?Omar?Zelaya).
*/
#pragma?hdrstop
#include?“FastMM4.hpp“
void?BCBInstallFastMM()
{
??InitializeMemoryManager();
??if?(CheckCanInstallMemoryManager())
??{
????InstallMemoryManager();
??}
}
#pragma?startup?BCBInstallFastMM?0
void?BCBUninstallFastMM()
{
??//Sadly?we?cannot?uninstall?here?since?there?are?still?live?pointers.
}
#pragma?exit?BCBUninstallFastMM?0
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????25214??2006-09-26?12:21??top.ico
?????文件????????881??2009-10-08?20:38??readme.txt
?????文件?????200146??2008-03-11?09:49??Components\em
?????文件????????557??2008-03-13?14:56??Components\AddressBox\PackageAddressBox.dpk
?????文件???????2014??2008-04-30?09:52??Components\AddressBox\PackageAddressBox.dof
?????文件????????438??2008-04-30?09:52??Components\AddressBox\PackageAddressBox.cfg
?????文件????????876??2008-04-30?09:52??Components\AddressBox\PackageAddressBox.res
?????文件???????4402??2008-05-05?13:36??Components\AddressBox\AddressBox.pas
?????文件?????122391??2007-08-31?22:25??Components\XPMenu2\XPMenu.pas
?????文件????????548??2007-08-31?22:27??Components\XPMenu2\PackageXPMenu.dpk
?????文件???????1840??2006-03-13?17:24??Components\em
?????文件???????1794??2006-03-13?17:25??Components\em
?????文件???????1794??2006-03-13?17:25??Components\em
?????文件???????1816??2006-03-13?17:25??Components\em
?????文件???????1816??2006-03-13?17:25??Components\em
?????文件??????50059??2006-03-10?14:27??Components\em
?????文件???????3537??2006-01-15?08:46??Components\em
?????文件???????3509??2006-01-15?13:24??Components\em
?????文件???????9913??2006-01-15?09:13??Components\em
?????文件??????22289??2006-01-15?13:35??Components\em
?????文件??????13746??2006-01-15?08:58??Components\em
?????文件??????13298??2006-01-15?08:57??Components\em
?????文件??????15588??2006-01-15?08:57??Components\em
?????文件??????53667??2005-12-23?07:46??Components\em
?????文件???????6828??2005-12-23?07:46??Components\em
?????文件??????18889??2006-01-02?17:40??Components\em
?????文件??????11406??2006-01-15?08:58??Components\em
?????文件???????8335??2006-01-15?08:59??Components\em
?????文件??????31722??2006-01-15?09:16??Components\em
?????文件??????29278??2006-01-15?09:02??Components\em
............此處省略307個文件信息
評論
共有 條評論