Segmentation Violation
Kenneth Brody
kenbrody at spamcop.net
Wed Jul 21 09:44:32 PDT 2010
On 7/21/2010 11:01 AM, Fairlight wrote:
>> From inside the gravity well of a singularity, George Simon shouted:
[... segv / cron ...]
> If they're on Windows and referring to some other scheduler erroneously
> as "cron", there probably is not a way to automatically bypass the error
> box showing the crash fault details, short of a desktop monitoring/macro
> program that can detect the window and press the button. Pressing the
> button, easy--I can name two programs off the top of my head that can do
> that. Monitoring for a precise sort of window to pop up, not easy--I know
> of nothing at all that's suited to the task.
And, unfortunately, there is AFAIK no documented way to determine "is this
program running from the task manager, rather than on the desktop".
I happened to have researched this a few weeks ago. The closest I could
come was a set of API calls which appear to let a program determine if it's
running on a desktop or not. Nothing in the docs state whether this is
guaranteed to "work" in determining if the program is running from the task
manager. It is a series of API calls which eventually return a flag which
is described as "Window station has visible display surfaces".
--
Kenneth Brody
More information about the Filepro-list
mailing list