   Delphi quetions.
  Hi again.  2 questions:1. Sometimes I shut down the app and it remains in memory (i.e. still on the process page in windows task manager)..anyway to ensure that it is taken out of memory indefinately ..application.terminate clearly doesn't do this every time.2. I am loading pictures into my app but I don't want the user to be able to load pictures greater than 40X40 pixels,  any code which can restrict what they load?3. Anyone know any code to checksum files through delphi?Thanks alot :)Seifer Almasy   
  It's been a while since I used Delphi, but I'll have a go.1. What kind of program are you running? Terminate seems to work for me, although I've never needed to use it before (simply closing the Main form is sufficient for most standard applications). Do you have any extra loops or threads running that aren't ended when Terminate is called? Terminate calls the Windows PostQuitMessage() function, so will not instantly shut down an application. Indeed, it will not end it at all unless the correct message handling is in place.2. If you load the picture using a TGraphic of some sort you can check the Width and Height properties. (Or if you've written your own code to load the image then you can probably check before the data is loaded.)3. Not sure.   ;  I know that problem 1, Delphi had this 'bug' that sometimes you could not end the program anymore. I expereinced this when acessing/closing  an application outside delphi while it was running.The only way around this is to end the program with the task manager. always turn auto save on ! ^_^2. well if i think fast you can use tbitmap.height and width if it's over 40 then free the bitmap.3. have you searched resources such as delphi super page, torri's delphi pages etc. use google.   ;  On the checksum thing..yes I have checked but the components there are all for above borland 4...also no code anywhere that I can see..i check again.  Thanks allSeifer Almasy   ;  Looks like file checksum, see if this is what you wantFile checksum in Delphi