How to save any file in registy
-
Thanks to reply Kereskowiak, Actually i want that my project should work like "Trial Versions" does. If project is installed on one machine then it should expire itself after 10 days of installation. if someone try to install it again after changing the system date then it should check that, has project been installed on same machine before or not? if yes then it should stop installation. I want to do such stuff for Piracy point of view of project. Waiting for solution. Regards, Syed Ali Raza Rizvi
-
Thanks to reply Kereskowiak, Actually i want that my project should work like "Trial Versions" does. If project is installed on one machine then it should expire itself after 10 days of installation. if someone try to install it again after changing the system date then it should check that, has project been installed on same machine before or not? if yes then it should stop installation. I want to do such stuff for Piracy point of view of project. Waiting for solution. Regards, Syed Ali Raza Rizvi
Syed Ali Raza Rizvi wrote:
Thanks to reply Kereskowiak,
His name is Dave, and you should respond on the same thread, so he can see it and so it's in context.
Syed Ali Raza Rizvi wrote:
Actually i want that my project should work like "Trial Versions" does.
Then you need to store some info somewhere that is hard to find, and that shouldn't be the registry IMO. The only way to do this so that there is little chance of a determined user to crack it is to do something user hostile, like hide files in the System32 folder to track the dates.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Syed Ali Raza Rizvi wrote:
Thanks to reply Kereskowiak,
His name is Dave, and you should respond on the same thread, so he can see it and so it's in context.
Syed Ali Raza Rizvi wrote:
Actually i want that my project should work like "Trial Versions" does.
Then you need to store some info somewhere that is hard to find, and that shouldn't be the registry IMO. The only way to do this so that there is little chance of a determined user to crack it is to do something user hostile, like hide files in the System32 folder to track the dates.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
The Registry is always the first place people look in when trying to "break" your program. To protect your programs, You could have a look at my article here : http://www.codeguru.com/vb/gen/vb_general/ideincludingvisualstudionet/article.php/c11817/[^] In there (the second page) I create a Trial Application ,storing a counter variable in a "system" file. Then, when the counter reaches a certain number, the person cannot continue. Hope that helps! H T G