Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NewObject not working in Runtime
Message
 
À
21/06/2003 14:38:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00802619
Message ID:
00803262
Vues:
20
Is the file 'edc.vcx' available to your exe application? You may want to specify the exe instead if 'edc.vcx' is built into your application.



>I'm using VFP 7.0
>
>form.load()
>  return dodefault() and Valid_User(this)
>
>Valid_User.prg
>  LPARAMETERS toForm
>    messagebox('1')
>    toForm.NEWOBJECT('cntUser1','cntUser','edc.vcx')
>    messagebox('3')
>    return toForm.cntUser1.Valid_User()
>
>class cntUser in edc.vcx
>  procedure Init()
>    messagebox('2')
>
>During Runtime (exe file) the NewObject() never executes. I never get the 2nd messagebox or the 3rd.
>The app just quits - no error message - not anything.
>
>Works fine in development mode.
>
>TIA
Mathias Banda

Time is longer than a rope.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform