We use NuMega Boundchecker to detect memory leaks. It still need an exe to work. But that is no problem. You still need code to drive the tests. Just load the dll and perform tests. It should work the same way with purify.
Regards Erik Rydgren Mandarinen systems AB Sweden -----Original Message----- From: Xerces Rule [mailto:[EMAIL PROTECTED]] Sent: den 21 januari 2002 13:32 To: [EMAIL PROTECTED] Subject: Re: Memory Profiler Hi. I must thank Martin for the answer, but I've got a problem: I'm not developing an EXE file, but a DLL. So my 'very short' Purify Report is: ***************************** Instrumenting: myfile.dll 499762 bytes ***************************** Is not there any way to detect memory leaks within a DLL? regards. El Mon, 21 Jan 2002 11:45:08 +1100 "Martin Kalen" <[EMAIL PROTECTED]> escribi�: > > 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] > _______________________________________________________________________ �Ya conoces eBay, el mayor centro de compra y venta en internet? M�viles, port�tiles, pda�s, cd�s, c�maras digitales... �Compru�balo t� mismo! http://adfarm.mediaplex.com/ad/ck/1185-5550-4234-3?RedirectEnter&partner=341 13&loc=http://www.es.ebay.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
