Qbasicnews.com

Full Version: kill prog!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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?
you want to avoid the issue rather than fix it?

show us the program code or something if you cant fix it.
uh well it application not basic that's giving me the trouble
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.
Protected mode, guys. Only the system kernel can access a process memory space.
and if i take out the kernel good bye OS. peek poek won't work for ems? at all?
Have you tried Ctrl+Alt+Del, then selecting the program to terminate?
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.
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.
what about ASM? same senario?
Pages: 1 2 3