Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class name is invalid with app but not prg
Message
De
11/12/2003 08:23:26
 
 
À
10/12/2003 10:12:55
Dick Janson
Affordable Business Systems
Laingsburg, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00856815
Message ID:
00858056
Vues:
33
Yes, because the classlib is included in the project the path does not matter. Just enter
set classlib to myclasslibrary.vcx
Glenn

>I had a set classlib in the init of my form, but the reference was specific to my machine, and as I was having problems, so I just commented it out. Should I add it back, but without the drive and path reference?
>
>Dick
>
>>Yes that is what I meant. This is a vexing roblem... Do you
>>set classlib to myclasslib.vcx
in the program which attempts to instanciate a class contained in the class library? eg.
set classlib to myclass.vcx
>>on shutdown do cleanup
>>oForm = createobject('myform')
>>oForm.show()
>>read events
>>...
>>procedure cleanup
>>on shutdown
>>close all
>>
>>
>>Glenn
>>
>>>Glen,
>>>
>>>My library is listed in the project under Class Libraries and is the only library there. The Exclude option is dimmed, so I assume it is automatically included.
>>>
>>>Is that what you meant?
>>>
>>>Dick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform