Information générale
Catégorie:
Codage, syntaxe et commandes
>You could use AMOUSEOBJ() but I don't see any usefulness of recording last key or mouse info. IMHO ASTACKINFO() is much more helpful. It would already tell you which "Click" or other method caused it.
Agreeing totally on AStackinfo() being a great help.
Also all Asynch/Timer events should be logged - in case of often firing timers threatening to fill up the disk quickly, a round-robin table with enough entries for a small timespan can be used, always overwriting oldest record.
Had one case where Returning from OLE in asynch call manner could SOMETIMES (only when returning when some particular code was on the stack) mess up the stack, as some old routines still used privates. Joys of porting FPW and reusing ;-))
Not easy to guess as "messing-up code" already was gone from Astackinfo()...
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement