Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unhandled Structured Exception
Message
From
09/08/2012 09:35:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01550207
Message ID:
01550210
Views:
75
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I am getting an unhandled structured exception in the following place:
>
>Timer method has TRY CATCH. Within TRY there is a call to a function that prints a form. If this function encounters a problem, specifically "error 1958, loading printer driver", the code goes to the CATCH TO branch of the TRY but then the following error appears (Program Error):
>"Unhandled Structured Exception"
>"Error loading printer driver"
>
>Within the function that prints the form there is not TRY CATCH.
>
>I don't understand why I am getting this error. Can anyone explain what I am missing or not understanding?

This usually means there's an error inside the Catch block... which should be spotless. You are handling an error and then making a new one before finishing the handling, Fox will surely be confused and will fight back with an error message like that.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform