Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing Class
Message
De
17/08/2000 01:31:32
 
 
À
17/08/2000 01:24:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00405938
Message ID:
00405941
Vues:
47
>In the Main.prg of the project I'm working on, I get the error "variable 'varname' not found" on the line APP_GLOBAL = NEWOBJECT(APP_CLASSNAME, APP_CLASSLIB). I looked in my project classes and sure enough, APP_CLASSLIB does not exist. Is there any way to find APP_CLASSLIB and replace it?

APP_CLASSNAME isn't a literal cause it doesn't have quotes or brackets around it, its either a variable, or (for some reason to me it looks more like a) compile time constant.

Look in any .h files for something like: #DEFINE APP_CLASSNAME MyApp, if that is the case, #include that file into your main PRG, or, since I don't see any advantage to doing that, just hardcode the class name and library in the NewObject() line.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform