How can I get a DLL's Parent Window Title? OR How can I get the PID of the process that loaded my DLL?
I need this so I can make a file for each process that loads my DLL but the file has to contain some sort of identifier. Something like File.PID.
I decided to use Process ID because I want to do this in a portable way. Is there any portable ways to get the PID that loaded my dll?
Also is there a way I can program for linux on windows? Basically I want to see if a linux system will run my dll (even though I didn't have any ifdef __linux). I'd like to make my DLL run on both windows and linux.