Archive for the ‘FastMM4’ Category.

FastMM4 Gui – Source Code

About 5 years ago, I knocked together¬†a little GUI layer on top of the .INC file for the FastMM4 project. This was to help someone (can’t remember who) that was having difficulties modifying the include file directly with all of the compiler defines.

Occasionally¬†I get requests to update it and/or release the source. Since I don’t actually use it here is the source:

http://www.jed-software.com/files/fastmmgui_src.zip

Some blasts from the past:

Warnings

  • The parsing code is horrible.
  • The ListBox in the UI is custom drawn to display the checkboxes. It really should be a component, but I never got to that stage and haven’t needed such a component since.
  • I changed it today to use generics, but only in one spot so wouldn’t take long to convert back. Originally it was D2006.
  • Removed all warnings when built with XE2, so ThemeServices references were changed to StyleServices.
  • I don’t know how it will look in an unthemed operating system.
  • If you have JSDialog Pack, define JSD to use JSDialog Pack dialogs for messages.
  • There is no license on the code, there is no support on the code. You are on your own! The only caveat to this is if you can’t get a clean compile from the included source code, let me know and I’ll address it.

It isn’t complex code, it is just a bit messy reading the options from the INC file. Note it uses hardcoded start and end points, so these should be adjusted in the .ini file created when the application runs – or set in the source code if no .ini file is found. Method is called LoadDefaultSettings in the MainForm unit.

 

 

 

NEW: FastMM4 Options Interface

Today I am releasing a little application I wrote to help folks that perhaps don’t have the confidence to read through the FastMM4Options.inc file and determine what options they want to activate/deactivate for their copy of FastMM4.

To download the full version of FastMM4:
FastMM on sourceforge by Pierre le Riche
To download the installation file:
FastMM4 Options Interface

This utility was written in CodeGear Delphi 2007
Installation program was created with InstallAware 7 Studio

Lets pad out this post with some images…


Regular options


Showing dependant options

UPDATE: I must add that Pierre has done an awesome job in creating and documenting each compiler option. The comments that are displayed are directly from the options include file. I have not added to any of the descriptions.

Let me know if you find it useful.