Code Additions


Author: Dave
Date: 08.27.12 - 11:34am



Been updating some of my old code so that it is happy in the new Windows7 and 64 bit aware world. Finding Vb6 examples for this stuff is sparse. I was able to make do with some conversions of web stuff so here are some useful functions if anyone ever needs them..
  • WTSEnumerateProcesses, to list running processes, including getting string user name from sid
  • GetExtendedTcpTable in VB6 to list open TCP and UDP ports and processes
  • GetProcessImageFileNameA in VB6
  • Get an external process command line in VB6
  • Determine if windows is 64 bit
  • determine if a running process is 64 bit from its pid
  • determine if an executable file is 64 bit
All of these functions are available in the SysAnalyzer source




Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 74 + 53 = ? followed by the letter: G 



About Me
More Blogs
Main Site
Posts: (All)
2020 ( 2 )
2019 ( 5 )
2018 ( 6 )
2017 ( 6 )
2016 ( 22 )
2015 ( 16 )
2014 ( 25 )
2013 ( 4 )
2012 (10)
     VC 2008 Bit Fields
     Speed trap
     C# Db Class Generator
     VB6 vrs .NET (again)
     FireFox Whois Extension
     git and vb6
     Code Additions
     Compiled date to string
     C# ListView Sorter
     VB6 Wish List
2011 (7)
     C# Process Injection
     CAPTCHA Bots
     C# PE Offset Calculator
     VB6 Async Download
     Show Desktop
     coding philosophy
     Code release
2010 ( 11 )
2009 ( 3 )