Thread: 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 |
|
From: metalseb <met...@fr...> - 2002-10-04 11:07:48
|
>How about Ctrl-Alt-Del, and then `END TASK'? If the programs is ran as a service by Windows, it will not be displayed in the task window. And all fuc****g viruses do that ! -- Seb |
|
From: Daniel G. <sp...@ho...> - 2002-10-08 07:20:02
|
Hey they're only trying to help! Don't go overboard! This list is for learning too! >From: metalseb <met...@fr...> >Reply-To: met...@fr... >To: dev...@li... >Subject: Re: [Dev-C++] Unload file from memory and delete ?? >Date: Fri, 04 Oct 2002 12:49:50 +0200 > > >How about Ctrl-Alt-Del, and then `END TASK'? > >If the programs is ran as a service by Windows, it will not be displayed in >the task window. > >And all fuc****g viruses do that ! > >-- >Seb > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com |
|
From: Per W. <pw...@ia...> - 2002-10-08 11:01:45
|
I don't think anyone have gone overboard... The *** word was used about viruses, not about users of this list. Anyone here who think we should treat virus programs with respect, as in 'all well-behaved win32 viruses should follow the standard win32 policy=20 and register itself either as a service, or install itself within the address space of a known legitimate program' :-) /Per W On Tue, 8 Oct 2002, Daniel Glenfield wrote: > Hey they're only trying to help! Don't go overboard! This list is for=20 > learning too! >=20 >=20 > >From: metalseb <met...@fr...> > >Reply-To: met...@fr... > >To: dev...@li... > >Subject: Re: [Dev-C++] Unload file from memory and delete ?? > >Date: Fri, 04 Oct 2002 12:49:50 +0200 > > > > >How about Ctrl-Alt-Del, and then `END TASK'? > > > >If the programs is ran as a service by Windows, it will not be displayed= in=20 > >the task window. > > > >And all fuc****g viruses do that ! > > > >-- > >Seb > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 >=20 >=20 >=20 > _________________________________________________________________ > Join the world=92s largest e-mail service with MSN Hotmail.=20 > http://www.hotmail.com >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
|
From: Daniel G. <sp...@ho...> - 2002-10-08 13:17:36
|
Sorry if I got the wrong end of the stick there. I'd like to learn more about how viruses work. Perhaps we can then get some idea on how to stop them (however unlikely that may be). >From: Per Westermark <pw...@ia...> >To: Daniel Glenfield <sp...@ho...> >CC: met...@fr..., dev...@li... >Subject: Re: [Dev-C++] Unload file from memory and delete ?? >Date: Tue, 8 Oct 2002 13:01:13 +0200 (CEST) > >I don't think anyone have gone overboard... > >The *** word was used about viruses, not about users of this list. Anyone >here who think we should treat virus programs with respect, as in 'all >well-behaved win32 viruses should follow the standard win32 policy >and register itself either as a service, or install itself within the >address space of a known legitimate program' :-) > >/Per W > > >On Tue, 8 Oct 2002, Daniel Glenfield wrote: > > > Hey they're only trying to help! Don't go overboard! This list is for > > learning too! > > > > > > >From: metalseb <met...@fr...> > > >Reply-To: met...@fr... > > >To: dev...@li... > > >Subject: Re: [Dev-C++] Unload file from memory and delete ?? > > >Date: Fri, 04 Oct 2002 12:49:50 +0200 > > > > > > >How about Ctrl-Alt-Del, and then `END TASK'? > > > > > >If the programs is ran as a service by Windows, it will not be >displayed in > > >the task window. > > > > > >And all fuc****g viruses do that ! > > > > > >-- > > >Seb > > > > > > > > > > > >------------------------------------------------------- > > >This sf.net email is sponsored by:ThinkGeek > > >Welcome to geek heaven. > > >http://thinkgeek.com/sf > > >_______________________________________________ > > >Dev-cpp-users mailing list > > >Dev...@li... > > >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > > _________________________________________________________________ > > Join the worlds largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
|
From: metalseb <met...@fr...> - 2002-10-08 14:10:31
|
08/10/02 13:01:13, Per Westermark <pw...@ia...> a écrit: >I don't think anyone have gone overboard... > >The *** word was used about viruses, not about users of this list. Yes, of course, I was talking about viruses. I had serious problems a few months ago with that so famous klez worm. -- Seb |
|
From: MEGHAZI F. <Fab...@si...> - 2002-10-08 15:07:42
|
I just received this virus by mail at my office this morning. -----Original Message----- From: metalseb [mailto:met...@fr...] Sent: mardi 8 octobre 2002 16:12 To: Per Westermark; Daniel Glenfield Cc: dev...@li... Subject: Re: [Dev-C++] Unload file from memory and delete ?? 08/10/02 13:01:13, Per Westermark <pw...@ia...> a =E9crit: >I don't think anyone have gone overboard... > >The *** word was used about viruses, not about users of this list.=20 Yes, of course, I was talking about viruses. I had serious problems a few months ago with that so famous klez worm. -- Seb ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Abhijit S. <mu...@gm...> - 2002-10-08 17:47:16
|
> I just received this virus by mail at my office > this morning. Speaking about viruses, another one is spreading by mail. I'm getting a large number of mails from people on the Allegro (or AGP) list. People using Windows mail clients beware. When you click on the message to preview it, a prompt appears, asking you to save a file (usually having an executable extension: *.scr, *.exe, *.pif, *.com etc.). I haven't opened or saved the file yet, but I'm sure it's a virus. People on those lists please don't open such messages, delete them immediately. I dunno which virus it is, how harmful it is, or how it propogates. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: <we...@ha...> - 2002-10-24 20:27:49
|
Hi, I'm trying do my program sleep from 25 to 40 min. I tryed use the funcion sleep() but i can't do it. :/ Someone know how to do it ?? Can gave-me a example ?? Thkz a lot. Best Regards. [ ]'s |
|
From: Abhijit S. <mu...@gm...> - 2002-10-25 12:12:19
|
Greets, Wendel.
> Hi,
>
> I'm trying do my program sleep from 25 to 40 min. I tryed use the funcion
> sleep() but i can't do it. :/
>
> Someone know how to do it ?? Can gave-me a example ??
use Sleep(), declared in <windows.h>
void Sleep(DWORD milli_seconds);
milli_seconds can be INFINITE, or zero, which is used when multi-threading.
So for 25 minutes, it would be 25*60*100 (100 ms is one second, right?).
Sleep(150000);
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Per W. <pw...@ia...> - 2002-10-25 12:50:37
|
Milli is 1/1000, which is the standard quotient in the metric system. /Per W On Fri, 25 Oct 2002, Abhijit Shylanath wrote: > Greets, Wendel. > > > Hi, > > > > I'm trying do my program sleep from 25 to 40 min. I tryed use the funcion > > sleep() but i can't do it. :/ > > > > Someone know how to do it ?? Can gave-me a example ?? > > use Sleep(), declared in <windows.h> > > void Sleep(DWORD milli_seconds); > > milli_seconds can be INFINITE, or zero, which is used when multi-threading. > > So for 25 minutes, it would be 25*60*100 (100 ms is one second, right?). > > Sleep(150000); > > ___________________________________________________________ > > Abhijit Shylanath > > E-mail: mu...@gm... || ibr...@bi... > Web-site: http://mudeth.tripod.com/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |