Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App won't use right version of classlib
Message
From
07/04/2002 23:01:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
App won't use right version of classlib
Miscellaneous
Thread ID:
00642021
Message ID:
00642021
Views:
68
I am working with a Visual Accountmate (VAM), an accounting package. One version of VAM ships with a 'system manager' exe called vsm.exe. It is compiled in VFP 5. The source is not available for the exe. However, there are 'hooks' and entry points where one can call their own code. In this version, 3.10, If I call set('classlib') from within the program, I get:
c:\editctr.vcx; c:\basectr.vcx and so on for each classlib. However, their is no editctr.vcx in c:\. I am sure that the classlibs are compiled in the program. Even though copies of the vcxes are sitting in c:\vam, the application root, I am sure that it is not using these, because I can erase them and the program still works.

But I want to change the properties in editctr. So, in a 'hook program', once vam is started I issue:

release c:\editctr.vcx && this appears to work - the program doesn't complain
** even though there is no editctr.vcx in c:\ (release editctr with no paths doesn't work)

then I issue:
set classlib to c:\vam\mine\editctr additive.

?set('classlib') returns c:\vam\mine\editctr alias editctr

Even after I have done this, I don't see the changes that I made to properties and methods in c:\vam\mine\editctr.

Did I release the reference to the classlib in the exe by issuing:
release c:\editctr? It seems not, since I am not seeing the changes to my copy of editctr

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform