Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help me Help me Posted by Apocalypse on 26 Mar 2001 at 5:37 PM
Please Tell me how to
+Access and edit windows memory (Virtual & Physical Memory)
+Memory Address of a running program?
Ex : A program name AAA is running
It uses Memory from BBB to CCC
How can I know AAA,BBB and CCC
Email : mailto:UltimaWeapons@Yahoo.com




Report
Re: Help me Help me Posted by gameman1a on 27 Mar 2001 at 5:07 AM
: Please Tell me how to
: +Access and edit windows memory (Virtual & Physical Memory)
: +Memory Address of a running program?
: Ex : A program name AAA is running
: It uses Memory from BBB to CCC
: How can I know AAA,BBB and CCC
: Email : mailto:UltimaWeapons@Yahoo.com
:
:
:
:


Assuming you use the 9x prototype :

Right click on my computer - go to performance tab - click virtual memory.

For NT's :

Right click on my computer - go to advanced - performance options - click change

For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?

Report
Re: Help me Help me Posted by Apocalypse on 31 Mar 2001 at 7:24 AM
: : Please Tell me how to
: : +Access and edit windows memory (Virtual & Physical Memory)
: : +Memory Address of a running program?
: : Ex : A program name AAA is running
: : It uses Memory from BBB to CCC
: : How can I know AAA,BBB and CCC
: : Email : mailto:UltimaWeapons@Yahoo.com
: :
: :
: :
: :
:
:
: Assuming you use the 9x prototype :
:
: Right click on my computer - go to performance tab - click virtual memory.
:
: For NT's :
:
: Right click on my computer - go to advanced - performance options - click change
:
: For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?
:
::
::
::
::
::
:Apocalypse:
:I Understand but
:Sorry I want to know a source code by a programming language
:such as Delphi,C++,Basic or WindowsAPI
:If Anyone know , Please send me your source code
:Email : UltimaWeapons@Yahoo.com



Report
Re: Help me Help me Posted by gameman1a on 1 Apr 2001 at 1:37 AM
: : : Please Tell me how to
: : : +Access and edit windows memory (Virtual & Physical Memory)
: : : +Memory Address of a running program?
: : : Ex : A program name AAA is running
: : : It uses Memory from BBB to CCC
: : : How can I know AAA,BBB and CCC
: : : Email : mailto:UltimaWeapons@Yahoo.com
: : :
: : :
: : :
: : :
: :
: :
: : Assuming you use the 9x prototype :
: :
: : Right click on my computer - go to performance tab - click virtual memory.
: :
: : For NT's :
: :
: : Right click on my computer - go to advanced - performance options - click change
: :
: : For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?
: :
: ::
: ::
: ::
: ::
: ::
: :Apocalypse:
: :I Understand but
: :Sorry I want to know a source code by a programming language
: :such as Delphi,C++,Basic or WindowsAPI
: :If Anyone know , Please send me your source code
: :Email : UltimaWeapons@Yahoo.com
:
:
:


What do you need a source code for? OK, here's an example of a C++ source code :

#include <iostream.h> //the iostream.h library is needed to use commands like cin and cout

int main(void) //the main function, where a C++ program begin
{
cout<<"Hello...."; //prints the word "Hello...." to the screen
return(0); //ends the program with a value 0, means no error
}

When compiled and executed it will show "Hello...." on the screen.

Remember that anything behind the double slash "//" is a comment, that means ignored by the compiler. So :

cout<<"abc"; //sahjhdsajhdsjhsadjhas

is equal to :

cout<<"abc";

Learn C++ if you're interested! There are lots of tutorial out there.

I hope this is what you want. Thank you!

Report
You're dumb. Posted by Sephiroth2 on 1 Apr 2001 at 8:41 AM
: : : : Please Tell me how to
: : : : +Access and edit windows memory (Virtual & Physical Memory)
: : : : +Memory Address of a running program?
: : : : Ex : A program name AAA is running
: : : : It uses Memory from BBB to CCC
: : : : How can I know AAA,BBB and CCC
: : : : Email : mailto:UltimaWeapons@Yahoo.com
: : : :
: : : :
: : : :
: : : :
: : :
: : :
: : : Assuming you use the 9x prototype :
: : :
: : : Right click on my computer - go to performance tab - click virtual memory.
: : :
: : : For NT's :
: : :
: : : Right click on my computer - go to advanced - performance options - click change
: : :
: : : For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?
: : :
: : ::
: : ::
: : ::
: : ::
: : ::
: : :Apocalypse:
: : :I Understand but
: : :Sorry I want to know a source code by a programming language
: : :such as Delphi,C++,Basic or WindowsAPI
: : :If Anyone know , Please send me your source code
: : :Email : UltimaWeapons@Yahoo.com
: :
: :
: :
:
:
: What do you need a source code for? OK, here's an example of a C++ source code :
:
: #include <iostream.h> //the iostream.h library is needed to use commands like cin and cout
:
: int main(void) //the main function, where a C++ program begin
: {
: cout<<"Hello...."; //prints the word "Hello...." to the screen
: return(0); //ends the program with a value 0, means no error
: }
:
: When compiled and executed it will show "Hello...." on the screen.
:
: Remember that anything behind the double slash "//" is a comment, that means ignored by the compiler. So :
:
: cout<<"abc"; //sahjhdsajhdsjhsadjhas
:
: is equal to :
:
: cout<<"abc";
:
: Learn C++ if you're interested! There are lots of tutorial out there.
:
: I hope this is what you want. Thank you!
:
Gameman1a: Excuse me, what the hell does that have to do with his question.
He wanted to know how to find the physical address of a page within the virtual address space of a program.

Apocalypse: There is no API to find the physical address of an address. You can read and write the memory of a process using ReadProcessMemory and WriteProcessMemory. It will fail unless the entire space is valid.

Report
I'm dumb Posted by gameman1a on 2 Apr 2001 at 6:13 AM
: Gameman1a: Excuse me, what the hell does that have to do with his question.
: He wanted to know how to find the physical address of a page within the virtual address space of a program.
:
: Apocalypse: There is no API to find the physical address of an address. You can read and write the memory of a process using ReadProcessMemory and WriteProcessMemory. It will fail unless the entire space is valid.


Sorry, misunderstanding. I shouldn't write when I was sleepy :).
Gamemania

Planet of Wonders ( http://tech-war.virtualave.net/ )


Report
Re: I'm dumb Posted by Apocalypse on 2 Apr 2001 at 11:47 PM
: : Gameman1a: Excuse me, what the hell does that have to do with his question.
: : He wanted to know how to find the physical address of a page within the virtual address space of a program.
: :
: : Apocalypse: There is no API to find the physical address of an address. You can read and write the memory of a process using ReadProcessMemory and WriteProcessMemory. It will fail unless the entire space is valid.
:
:
: Sorry, misunderstanding. I shouldn't write when I was sleepy :).
: Gamemania
:
: Planet of Wonders ( http://tech-war.virtualave.net/ )
:
:
::Apocalypse
:But how can I use ReadProcessMemory and WriteProcessMemory?
:and how can I know which process is running?



Report
Re: Help me Help me Posted by Stoic Joker on 4 Apr 2001 at 2:42 PM
: : Please Tell me how to
: : +Access and edit windows memory (Virtual & Physical Memory)
: : +Memory Address of a running program?
: : Ex : A program name AAA is running
: : It uses Memory from BBB to CCC
: : How can I know AAA,BBB and CCC
: : Email : mailto:UltimaWeapons@Yahoo.com
: :
: :
: :
: :

Greetings
It sounds like your looking for a debugger, SoftICE is the best one i can think of. It's not cheap, but I think they have a demo. It'll let you trace/step through the program ass it's running or insert a "break point" at certain functions & open the program's code there (also hotkey open the active window etc...).


HopeFully this is useful
Stoic Joker

Report
Re: Help me Help me Posted by ColdShine on 5 Apr 2001 at 10:16 AM
Here are some functions you might find useful:
- EnumProcesses (only for Win9x/ME)
- OpenProcess
- WriteProcessMemory
- ReadProcessMemory

Hope this helps somehow.
________
ColdShine





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.