Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kill prog!
#1
i got some screwy programs that dont end if you end process them. so i was thinking is it possible to use poke/peek to look throught the memory and find what block that program is using and write over it so the program chrashes?
Reply
#2
you want to avoid the issue rather than fix it?

show us the program code or something if you cant fix it.
Reply
#3
uh well it application not basic that's giving me the trouble
Reply
#4
qbs PEEK and POKE can only access the first 640k of the mem, so that wouldn't help you.

I think there's a shut down app. feature in vb, but I'm not sure. Vb can't directly access memory btw.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#5
Protected mode, guys. Only the system kernel can access a process memory space.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#6
and if i take out the kernel good bye OS. peek poek won't work for ems? at all?
Reply
#7
Have you tried Ctrl+Alt+Del, then selecting the program to terminate?
hrist Jesus came into the world to save sinners, of whom I am first.(I Timothy 1:15)

For God so loved the world, that He gave His only begotten Son,
that whoever believes in Him should not perish, but have eternal life.(John 3:16)
Reply
#8
that's what i do. it happens when i'm low on resorces and nothing seams to be working the right way. i thought that i could make a simple program that would over write a section of memory to cause a non responding program to crash. would that just make things worse? i'm on win98 by the by.
Reply
#9
Quote:and if i take out the kernel good bye OS. peek poek won't work for ems? at all?

EMS does not exist in Windows. Windows uses a 32 bits flat model. You just have 4 Gigs of possible memory. You can't make a program that pokes outside its memory area, 'cause you are in protected mode as well. So what you want to do is impossible.

You could try and make a Win32 program that used some API calls to terminate processes, but those API calls are which are used by the task manager, so no use.

Anyhow, if you can't terminate a process using the task manager it means that:

1.- You are using Win9X or WinME.

and / or

2.- Your computer is really screwed.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#10
what about ASM? same senario?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)