I have a strange bug in one of my hacks, which only crashes (occasionally)
in the Preferences app. Not sure what's going on, but somehow if I call
LstGetSelectionText just after LstPopupList returns, I either get a warning
about reading from low memory, or else I get a bus error. (Is there
something strange about the Preference app that might make List
functions "funny"?)

Well, to just avoid the whole situation, I'd like to be able to know if
the user is running the Preferences app. But I see that SysCurAppDatabase
is different depending upon which module is active, so there is no easy
test to know when Prefs is running. Is there any other way for a hack
to know when the Prefs app is active?

thanks.



Reply via email to