Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling problem - Help!
Message
 
À
11/06/2002 19:10:07
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00667122
Message ID:
00667143
Vues:
21
>>So... I tried putting the error handling code into the ERROR procedure of the class. Once again, it works in vanilla VFP, but not within the CodeMine framework.
>
>Could you explain where Codemine actually fits in to this scenario? You developed a specialised visual class - have you now redeveloped the same class in Codemine (even though you dont own it) or are you trying to call your class from an existing Codemine application where you have access to its source?

Yes - Developed the object with a demo form for someone elses application. I now find that their app in developed with CodeMine. Near as I can tell, when they run it outside of Codemine it's running fine - but when run within Codemine the Codemine error handler reports the error.

>
>Codemine's error handling routine just works on a "chain of responsibility" basis. If the localised class cannot handle any error it encounters, it just passes it up to the next level. If you could elaborate a little on how it hangs together, maybe we can figure out where to "break the chain" <s>.

Well, I originally had the code I posted within the 'CheckSerialPorts' method of my object - which is simply a subclass of the MSCOMM ActiveX.

When the CodeMine reported the problem, I moved the error checking code into the 'Error' method of the class, hoping that would do it. Again - works in VFP, no dice in Codemine. I'm wondering now whether I should be short-circuiting the CodeMine error checking within the form - even though I'd rather keep it in the object for better portability.

Any insights would be welcome...

>
>Its pretty late here now so I am now going to keep my Wife company <s>. If you post any more info about this problem, I will gladly take a look at it in the morning.
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform