You'll need to use the windows API with Pascal...I found this site: http://www.irietools.com/iriepascal/progref305.html , but it's about Irie pascal and not turbo pascal.... I'm not sure the difference. Basically, you need to figure out how to call functions of the windows library's (the windows dll's) with pascal. Then you can use the exitwindows or exitwindowsex API call.
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
jamshid
Junior Poster in Training
70 posts since Jan 2006
Reputation Points: 8
Solved Threads: 0