On 10/03/2017 06:29 PM, Alan Gauld via Tutor wrote:
> On 03/10/17 22:49, steve.lett...@gmail.com wrote:
>
>> That is guessesTaken. It reads 0 when it should be a larger number.
>
> What makes you think so?
> You never increase it from its initial value so, quite correctly it
> stays at zero.
Add
On Tue, Oct 3, 2017 at 10:30 PM, Michael C
wrote:
>
> I am trying to create SYSTEM_INFO structure and MEMORY_BASIC_INFORMATION
> structure
First, avoid relying on constants, enumerations, and structures
published on MSDN. It's not always right. Get the SDK and use the
header files instead. MEMOR
On Thu, Oct 5, 2017 at 8:27 PM, Michael C
wrote:
>
> How do I see the values of each field? This doesn't work.
>
> print(PMEMORY_BASIC_INFORMATION.Protect)
Create an instance of MEMORY_BASIC_INFORMATION and pass a pointer to
it via byref(). For example, the following queries the region of
memory
Sorry about asking these super obvious little things, I am actually a 1st
student, but I acing my programming 101 at the moment lol
On Thu, Oct 5, 2017 at 12:27 PM, Michael C
wrote:
> First of all, thanks for the reply.
>
>
> How do I see the values of each field? This doesn't work.
>
> print(PM
First of all, thanks for the reply.
How do I see the values of each field? This doesn't work.
print(PMEMORY_BASIC_INFORMATION.Protect)
thanks!
On Thu, Oct 5, 2017 at 11:34 AM, eryk sun wrote:
> On Tue, Oct 3, 2017 at 10:30 PM, Michael C
> wrote:
> >
> > I am trying to create SYSTEM_INFO str