Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem excluding class libraries from projects
Message
From
28/12/1999 14:21:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Problem excluding class libraries from projects
Miscellaneous
Thread ID:
00309355
Message ID:
00309355
Views:
52
Working on an application made up of many projects. Instead of each project having the same set of class libraries, the class libraries were broken out into its own project. When the application is started the following statement sets the classlib path:

lcpath='C:\temp\'
lcClass='C:\temp\classlib'
lcclassname='INICLASS'

SET CLASSLIB TO (lcpath+lcclassname) IN (lcClass) ADDITIVE


The only way the application works is if the exes are built into the final destination. If the exes are built to c:\temp\ then installed to d:\destination\ the application does not work. The error says it can not instantiate the class.

Summary: If the class libraries are separated into their own exe and acceses via SET CLASSLIB statement, can the application be installed to a directory different from where is was compiled?
"The most beautiful experience we can have is the mysterious ; it is the fundamental emotion which stands at the cradle of true art and true science." - Albert Einstein
Next
Reply
Map
View

Click here to load this message in the networking platform