This content has been marked as final. Show 3 replies
Here is some info on using fileIO
You do realize how easy this would be for a user to circumvent though,
right? All they would have to do is delete the file. Your Director
program would probably react as if it was the first time being run again.
Also, you need to be careful with where you try to write files as the
user may not have permissions to do so and you code will fail.
Trying to create trial version in this manner will only stop the less
knowledgeable users. There are ways in making it more and more difficult
for users to circumvent, but they are more difficult to implement. In
the end you have to decide how important it really is for you. If it is
'really' important, then you will want to go with a professional
software licensing solution.
Please don't post the same question to multiple forums until you've
given your first post a reasonable length of time to elicit a response.
As stated above, it's not wise to use FileIO to accomplish this. Have you looked into BuddyApi?
That has a function 'WriteRegString' and 'ReadRegString' that allows you to read and write to and from the Windows Registry. Much safer, and much harder to circumvent by the user!