I need to connect windows with their "owning" application (i.e. for all high level windows, find which application opened them). I have tried GetModuleFileName(), but under Windows 95 it only works for the process my app is current running under, which seems pretty useless. (Apparently it works fine under Win 3.1, but that is not the environment I care about.) I need to connect other application's to their windows, not my own.