Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class name is invalid with app but not prg
Message
From
11/12/2003 08:23:26
 
 
To
10/12/2003 10:12:55
Dick Janson
Affordable Business Systems
Laingsburg, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00856815
Message ID:
00858056
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform