Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COMCodebook App Crashes on Win98 SE
Message
De
08/09/2002 13:31:36
 
 
À
08/09/2002 11:36:22
Information générale
Forum:
Visual FoxPro
Catégorie:
COMCodebook
Divers
Thread ID:
00698033
Message ID:
00698049
Vues:
13
Try releasing loResourceMgr before setting it to NULL.

COM Codebook applications do not require MTS/COM+.

FYI, you can install MTS on a Win98 machine. It is installed by running the NT4 Option Pack. (yes, you read that correctly).


>Hi to all
>
>I have created a COMCodebook Application in VFP7&SP1 on my WinXP Pro machine.
>
>Then i have installed the application in my client machine (PC with Win98 SE), run it, the application crashes.
>
>After i did some searching and testing in the clients machine i found out that the application crashes every time i set a object variable to .NULL.:
>
>***************************
>* MAIN.PRG
>***************************
>AppObject = CreateObject("CApplication")
>.
>
>
>***************************
>* Application Object Class
>***************************
>DEFINE CLASS CApplication AS Session
> Patients = .NULL.
>
> Procedure Init()
> Local loResourceMgr As CashResourceMgr.Patient
>
> loResourceMgr = CreateObject("CashResourceMgr.Patient")
> This.Patients = loResourceMgr.GetProxy()
> loResourceMgr = .NULL. * <-------- C5 error
> EndProc
>ENDDEFINE
>
>Thanks for any advise
>
>PS. Can COMCodebook components run under Win98 SE or only under MTS/COM+?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform