RE: [Dev-C++] Unload file from memory and delete ??
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Marc H. <ma...@e-...> - 2002-10-04 10:13:46
|
Hi, Use the PSAPI or Tool Help Library to get the HANDLE for the process. = Tool Help is available under Win9x, Me, 2000 and XP. WinNT only has PSAPI, = but Win2000 and XP have PSAPI as well. You can find info on these libraries = at msdn.microsoft.com. Once you have the process Id, you can kill it using TerminateProcess(HANDLE hProcess, UINT uExitCode) to kill the process. = You should then be able to delete it. Hope this helps _____________________________ Marc Heiligers Managing Director e-technik website development =20 Sign up for E-Technik Tech Talk FREE http://www.e-technik.com/newsletters/register.asp?id=3D1 =20 Download Power Launch at: http://www.powerlaunchcentral.com =20 email: ma...@e-... website: www.e-technik.com tel: +27 (41) 581 2144 fax: +27 (41) 581 2147 =20 The information transmitted is intended only for the person or entity = to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you = received this in error, please contact the sender and delete the material from = any computer. -----Original Message----- From: we...@ha... [mailto:we...@ha...]=20 Sent: 03 October 2002 08:54 PM To: Abhijit Shylanath; dev...@li...; Elizabeth = Barham Cc: Hans-J=F6rg Stangor; Daniel K. O.; Javier Subject: Re: [Dev-C++] Unload file from memory and delete ?? Hi Guys. Thkz for help. :) The programm can't be seen in CTRL+ALT+DEL. :) I use a programm to see hide programms and kill and it worked. Thkz a lot. Best Regards. [ ]'s |