|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Read & WriteMemoryProcess (Adress Space) ProblemSeems 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. Alex,
Have a look at this info, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devtest_g/hh/DevTest_g/BootIni_de16d3ec-c437-4628-805f-8945ea598a92.xml.asp I hope this helps, Cor Show quoteHide quote "Alex" <A***@discussions.microsoft.com> schreef in bericht news:5ADB5CF9-264F-4889-B7F9-591E07035525@microsoft.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. 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]": Show quoteHide quote > Alex, > > Have a look at this info, > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devtest_g/hh/DevTest_g/BootIni_de16d3ec-c437-4628-805f-8945ea598a92.xml.asp > > I hope this helps, > > Cor > > "Alex" <A***@discussions.microsoft.com> schreef in bericht > news:5ADB5CF9-264F-4889-B7F9-591E07035525@microsoft.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. > > >
GetFiles exception
Threading... On error resume next bug Encrypt My.Settings setting? set up timer start 15 sec past minute lastLogonTimestamp Intermittent 'Out of memory' error group enumerators so intellisense shows them in VB6? Help printing labels... Issue Tracker / Process (Project) Flow Management |
|||||||||||||||||||||||