Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to 'set classlib to' a virtual class
Message
From
16/03/2004 08:16:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
16/03/2004 04:38:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00886602
Message ID:
00886640
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
>>Hello,
>>
>>I've created a virtual class in a .app file.
>>Then I've created a project which contains a class which inherit from the virtual class.
>>In the project, I've defined the virtual class as excluded and I've put a set classlib in the main program like this :
>>
>>
>>SET CLASSLIB TO Virtual_Methods in VirtualClass.app additive
>>
>>
>>But I have a problem.
>>When I've created the project exe file, I have realized that the main exe is looking for the vcx file...
>>I got an error message "can't find virtual_methods.vcx.."
>>
>>How can I solve this problem ?
>>
>>
>>Thanks a lot !
>>
>>
>>Steph
>
>
>In fact, the parent class is separated from the child class.
>But I'm afraid that's not possible..
>
>Steph

Set classlib would look for a visual classlib. If it's prg based then set proc instead. In VFP6 and up you could use friendlier NewObject().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform