> Now, I want to optimize the memory using by my program, and > I've downloaded 'Rational Purify', in order to test it.
NB that Purify will not provide any profiling/optimization hints, but it will detect memory leaks, buffer under-/overruns, invalid pointer reads etc. As Herb Chong pointed out, Purify should integrate with VC++ at install time and give you some handy toolbar buttons that you can use in Visual Studio. If you want to go for the command-line option, make sure you have the purify install- and cache directories in your path (normally SET PATH=%PATH%;C:\progra~1\rational\purify;C:\progra~1\rational\purify\ca che) and run: # (your nmake line) # purify /replace=yes /run=no myexecutable.exe This will replace your executable with an instrumented version that will load the Purify GUI at start-up. Good luck, Martin. -- Martin Kalen Software Engineer TODAY Systems, Inc. http://www.todaysystems.com.au/ Tel +61-3-9536 3900 - Fax +61-3-9536 3901 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
