Well, the number is 1223.56 for just a couple of seconds (it is the S&P500
value). But if I am able to get the memory dumped I can seek for
some sequence of chars that precede the number in order of getting its value
as it evolves in time.
What I have no idea is how to get a complete memory dump of this program in
the form of a text file so I am able to parse it beforehand.
Thanks Bill,
Alejandro
----- Original Message -----
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: "Alejandro Santillan Iturres" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Saturday, August 27, 2005 1:35 AM
Subject: Re: Win 32 memory access
Alejandro Santillan Iturres wrote:
Any documentation about this module?
I need to access a number (a floating one, or maybe an integer)
within
a windows application. I thought that this module would be adecuate an I
installed it. So far I could not understand what the module doeas. I am
not
much skilled in memory managing and I tried to play a bit with the
sentences
written in the module examples:
my %memlist = $proc->get_memlist;
printf " %08X -> %08X : Len=0x%X\n", $_, $_+$memlist{$_},
$memlist{$_}
foreach (sort {$a <=> $b} keys %memlist);
and with:
print $proc->hexdump($from, $len);
$getvalue = $proc->get_i16($from, $undef_val);
Anyway I could'nt find a way of getting the number (it is a number
like 122356, always positive, lying somewhere in the memory map of the
application). I am very confused about using this module. Maybe I am not
gettin the complete memory allocated by the program. Could someone please
point me to any source of knowledge about it. Is there any discussion
group
a propos?
Seems to run ok for me. Is the 122356 an exact number or are you
looking for a number that fits into a range of values ? I think
you'll need an exact value to search for.
--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic
http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs