Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory variables not changing
Message
 
To
30/08/2001 10:57:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00550853
Message ID:
00550886
Views:
14
In the my test, I would have two key files (named differently) with one as
the CURRENT.KEY file. I would run the app and check if it works. I then
close the app and rename the current key file to say OLD.KEY then rename
the other key file as my CURRENT.KEY file. I would then run the app again
and check if the changes are working. The changes are not reflected until
the second and subsequent runs of the app. I could do it the other way
with the same results.
It could be a caching problem since the KEY files are very small and may
be kept in the cache longer (does that make sense?).

Thanks

>Sounds like a caching problem such that the network is not writing out the changes until the app is restarted or the network client is not re-reading the file because it thinks it has a current version (I am just guessing here). If you do the change via the app (or the licensing software) and then immediately go to the network and view the changes with an editor (I am assuming that this is a text file), do you see the changes made right away or are you looking at old values? I am not a "caching" guru but just some thoughts.
>
>Alber
>
>>The KEY file is a separate file that has the '.KEY' extension.
>>It is an ASCII text file that is created by the licensing
>>software. The app reads the KEY file for specific flags and
>>stores the values into memory variables. Any tampering with
>>the KEY file themselves can will invalidate it and the client
>>can loose their license to use the app.
>>
>>It looks some thing like this:
>>
>>; Tranquility Base Validation Key
>>;
>>; ***WARNING***WARNING***WARNING***WARNING***WARNING***
>>; Tampering with this key will result in program malfunction.
>>; Keys that have been tampered with in any way WILL NOT
>>; be replaced. You have been warned!
>>;
>>;Company
>>#gcCompName
>>%My Computer Company, Inc.
>>3312678593345932711924424884781748111242532814997363907293985378884275
>>0593987314174811234517481154861748191137174818133917481395981748113596
>>8748195669174816869117481216921748184741174814654617481237841748138136
>>1548125373174814438217481872491748185658174815443117481524450948155195
>>17045678981748189939
>>
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform