Hi Pekka,

I use the alertHook recently and as I could only dupicate the error 
in the .exe and not in Director thus had no way of finding what was 
causing the error.  

The following code is how I captured and displayed the error while 
the .exe was running.

on alertHook me, err, msg  
 put err && msg into field "Error"
 alert "an error has occured!"
 go to frame "Error"
-- return 1
end 

I stored the error into a field and then went to a frame to display 
the error. There it was - a global that was not getting set 
correctly - anyway hope this helps

Paul

Past Forward Limited, England, UK
mailto:[EMAIL PROTECTED]
http://www.pastforward.co.uk/

CONFIDENTIALITY AND DISCLAIMER NOTICE
This email and any attachments are private and confidential.  It is intended for the
recipient only.  If you are not the intended recipient, any use, disclosure, 
distribution,
printing or copying of this email is unauthorised.  You must not read, use or take any
action in reliance on it.  If you have received this email in error please notify the 
sender
immediately by replying to this email and permanently delete the email from your 
computer.

The contents of any attachments to this e-mail may contain software viruses which 
could 
damage your own computer system.  While we have taken every reasonable precaution to 
minimise this risk, we cannot accept liability for any damage which you sustain as a 
result of software viruses.  You should carry out your own virus checks before opening
any attachments.

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to