Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Big object in COM server makes VFP to crash
Message
 
À
14/03/2005 19:49:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00995785
Message ID:
00997978
Vues:
20
What kind of error?

How are you trapping the errors that occur in the child EXE. You should be using a TRY/CATCH around calls that sub EXE.

What does it mean when you say 'big object 400k'? EXE size?

+++ Rick ---


>I have a COM server VFP object that handles the Web browser request on the server side. As I mentioned a few times, this EXE is calling a sub EXE. Now, I am facing a situation that the sub EXE is including a big object, over 400k, and when an error occurs in that object, the COM server is crashing. I usually have my error handler at the COM server to respond to such situation and return a proper error to the user with a proper log in the DBF. However, since yesterday, that object in the sub EXE has growth a little bit and I am facing a crash. So, the instance at the WWC level is showing a process ID of 0. If the error occurs outside of that object, I am ok with a proper handler and a log. It was also ok if the error was occuring inside the object up until yesterday.
>
>The sub EXE is instantiating the object from the top lines of the Master.prg such as:
>
>
>* Create the Dashboard object
>SET CLASSLIB TO Dashboard ADDITIVE
>loDashboard=CREATEOBJECT('Dashboard')
>
>
>I was wondering if someone else also run into that situation.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform