General information
Category:
Coding, syntax & commands
>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()...
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only