CreateToolhelp32Snapshot v 1.2 (Updated version on 09/07/2014)v 1.2 (SnapShot_Guga3c2.zip - Works on WinNT and above)
* Added RTF (2.0) display
* Fixed support to Window NT (I hope :) )
* Fixed Module and thread listings
* Fixed process listings.
* Fixed SSE2 check - I hope :)
* Enabling report export in rtf format
v 1.2 (Xp version only to compare to the other one that also works on NT - SnapShot_Original3b2.zip)
________________________________________________________________________________________
Requirements:
RichEdit 2.0
Todo List:Create the heap listings.
Clean up the code
Finish further testings to compare the results of the original and mine version before implement the functions as a dll and make sure the functions are working on NT
Rebuild the SSE2 check to make it be for more general use. (See CPUID how they manage it. Or at intel references..They have a C code that can be ported to Assembly)
after creating the dll, add a progressbar on the executable demo just for fun
P.S.: The source code is embedded in the executable. To view or edit the source code you need to open the file in RosAsm.
________________________________________________________________________________________
________________________________________________________________________________________
CreateToolhelp32Snapshot v 1.1 (Updated version on 06/07/2014)
v 1.1 (SnapShot_Guga2c.zip)
* Fixed the last module thatwas not being displayed
* Implemented routines to check if the CPU contains SSE2
* Added faster memcopy and zeromemory routines to work with SSE2 (When the CPU allows it. Otherwise, it will use the default functions)
* Removed the calls to toolsnapshot win Apis from the demo to be tested on NT. Now it contains only mine versions of toolhelp
* Added the follwoing functions:
Module32First Module32FirstW
Module32Next Module32NextW
Thread32First Thread32Next
This is a test of the series of ToolHelp functions recreated from the original M$ Api.
So far, i suceeded to rebuild the following Apis
- CreateToolhelp32Snapshot
- Process32First
- Process32FirstW
- Process32Next
- Process32NextW
I´m pretty sure that on Process32Next there is a minor bug somewhere. I´m tracing it to compare to the results i found on the original APi to see if i can fix it.
Can someone test to see if the App works on WinnT ? (And on others windows versions too, such as win7, winvista, etc etc)
Note: This demo version was not designed to work on Win9x or below.
Btw:
SnapShot_Guga.zip = Mine version with the rebuilded Apis
SnapShot2_Original.zip = Same app using the M$ Apis
Note: This is a functional test, but the loading of modules and threads are disabled because i didn´t started to write the corresponding Apis. But...on
SnapShot2_Original you can see the modules and threads just uncommenting the following lines inside "BeginProcess" TITLE.
; List the modules and threads associated with this process
;call ListProcessModules D$hEdit, D@PROCESSENTRY32.th32ProcessIDDis
;call ListProcessThreads D$hEdit, D@PROCESSENTRY32.th32ProcessIDDis
DON´T UNCOMMENT THEM ON
MINE VERSION BECAUSE I DIDN´T BUILD THE NECESSARY APIS.
If you want to see the list of modules and threads uncoment those lines only on the
original version