I need a sample program written in VC++ (ideally with VS2010) with the following features:
- retrieving the PID (process ID) from another process communicating via socket
- retrieving the username of the owner of the other process using the previously retrieved PID
- retrieving the Windows group(s) the previously retrieved username belongs to
- retrieving the username of the current logged-in user in Windows
The target platform is Windows 7.
I've found some sample code on the web that should do these steps, but I'm not an expert and I'm not able to make it work. I'm willing to share it, so that you have something you can start with.
7 freelanceria on tarjonnut keskimäärin 114 € tähän työhön
thanks for your posting. i am programmer with rich experience. it is clear your need. i can do it. if you send your code , time will reduce more. please tell me. thanks.