473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Read & WriteMemoryProcess (Adress Space) Problem

Seems that those functions can't read from or write to any address beyond 2GB
(7FFFFFFF in hexa). when trying to access addresses beyond 2GB nothing
happens - no action and no exception either.
i am on 32 bit system, but i am using an Unsigned Integer poiter (UIntPtr)
so i Should be able to access 2GB-4GB adresses, except i don't.
the functions just dont work. what do i need to do to make it work?
thanks.
Jul 18 '06 #1
2 1573
Alex,

Have a look at this info,

http://msdn.microsoft.com/library/de...598a92.xml.asp

I hope this helps,

Cor

"Alex" <Al**@discussions.microsoft.comschreef in bericht
news:5A**********************************@microsof t.com...
Seems that those functions can't read from or write to any address beyond
2GB
(7FFFFFFF in hexa). when trying to access addresses beyond 2GB nothing
happens - no action and no exception either.
i am on 32 bit system, but i am using an Unsigned Integer poiter (UIntPtr)
so i Should be able to access 2GB-4GB adresses, except i don't.
the functions just dont work. what do i need to do to make it work?
thanks.

Jul 18 '06 #2
quoted: "On Windows, by default, the lower 2 GB are reserved for user-mode
programs and the upper 2 GB are reserved for kernel-mode programs" - it is
those upper 2GB i need to access. in C++.NET using WriteMemoryProcess() i can
access them but in VB.NET it can't - this is my problem.
"Cor Ligthert [MVP]":
Alex,

Have a look at this info,

http://msdn.microsoft.com/library/de...598a92.xml.asp

I hope this helps,

Cor

"Alex" <Al**@discussions.microsoft.comschreef in bericht
news:5A**********************************@microsof t.com...
Seems that those functions can't read from or write to any address beyond
2GB
(7FFFFFFF in hexa). when trying to access addresses beyond 2GB nothing
happens - no action and no exception either.
i am on 32 bit system, but i am using an Unsigned Integer poiter (UIntPtr)
so i Should be able to access 2GB-4GB adresses, except i don't.
the functions just dont work. what do i need to do to make it work?
thanks.


Jul 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: H Brown New To It | last post by:
I am very new to Java. How would you go about making Java program that reads in a fixed length text file (myfile.txt) and pass the data into a table in an sql table? The text file data looks...
3
by: EsC | last post by:
Hy! probably a dummy question, but i don't know how to set a Topic-Text and add Files to an email ... i use the SMTPLIB module and the function/method: .sendmail(from,to,msg) but how can...
9
by: martin | last post by:
Hi, a very newbie question. How do I split the adress and number to 2 variables? ex. "Kingsroad 347" = variabel1 = "Kingsroad" variabel2 = "347" Ill guess i have to search the string from...
9
by: Collin VanDyck | last post by:
I have a basic understanding of this, so forgive me if I am overly simplistic in my explanation of my problem.. I am trying to get a Java/Xalan transform to pass through a numeric character...
12
by: Sammy | last post by:
Hi, my mind is going crazy. I have tried everything I can think of to no avail. I have tried Disable Output Escaping. I tried to think of a way of enclosing the attribute data in a CDATA...
4
by: GRABLER Georg | last post by:
Hello everyone. A not too long time ago, i wrote a Post about "Reading process memory". Now, i got a good answer, about using the "marshal" class. I read over the class quickly, but i could...
0
by: Jarod_24 | last post by:
I got a function that return the url of a image, the problem is that the image control on the .aspx page automaticaly adds the adress of itself to the adress Example: The page...
16
by: Claudio Grondi | last post by:
What started as a simple test if it is better to load uncompressed data directly from the harddisk or load compressed data and uncompress it (Windows XP SP 2, Pentium4 3.0 GHz system with 3 GByte...
3
by: asdfghjkl2007 | last post by:
hy i want to write a program that can determin the code ( the 32 bit diget ) of a specific pixel on the desktop. can i somehow get the memory adress of the desktop image or is there a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.