Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COMCodebook App Crashes on Win98 SE
Message
De
08/09/2002 11:36:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COMCodebook
Titre:
COMCodebook App Crashes on Win98 SE
Divers
Thread ID:
00698033
Message ID:
00698033
Vues:
56
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+?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform