Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass a class
Message
From
04/07/2004 11:22:50
 
 
To
04/07/2004 08:26:17
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00920057
Message ID:
00920567
Views:
17
Heya Peter -
first - a clarification -
I meant to type 'filetostr' and not 'strtofile'

IN MEMORY ?
you can create an object on the fly and add in methods at run time to the object, with the methods being IN the contents of a memo field, and
then you can reference the methods from an object call.
OR
you can do a strtofile() and then eval the contents to an object
OR
you can do a strtofile() and then run the execscript beastie against it .


>What do you mean with IN MEMORY?
>
>Peter
>
>
>>Heya Chris -
>>after reading all of the thread replies to your posting -
>>I would suggest that its time you move on from multiple class libraries
>>
>>and make either:
>>1. a prg file that contains all that you want. Compile it encrypted [cause you want to resell it ] into an app. and then reference the app earlier on in your program calling hierarchy.
>>2. a complete raw dump of the '2 levels of instantiation that you need' into a memo field - then eval/exec the contents of that memo field
>>either via strtofile() or IN MEMORY
>>and have your class libraries reside only in memory during program execution.
>>It's a tad bit convouluted - but at the same time ?
>>once you got it IN memory -
>>you don't have to worry about 'which' baseclass you are subclassing from.
>>
>>HTH - mondo regards [Bill]
>>ps -
>>classlibs are really tables - so study them a bit with scan..endscan constructs, and see how you can sling code into memory with a scan..endscan loop.
Previous
Reply
Map
View

Click here to load this message in the networking platform