Click here to Skip to main content
15,884,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: More specific question, help please Pin
2buck5613-Apr-09 15:58
2buck5613-Apr-09 15:58 
AnswerRe: Internet to USB application Pin
Iain Clarke, Warrior Programmer14-Apr-09 4:02
Iain Clarke, Warrior Programmer14-Apr-09 4:02 
GeneralRe: Internet to USB application Pin
2buck5614-Apr-09 5:01
2buck5614-Apr-09 5:01 
QuestionSet Class - Insert Function Pin
aab1990213-Apr-09 7:28
aab1990213-Apr-09 7:28 
AnswerRe: Set Class - Insert Function Pin
David Crow13-Apr-09 7:32
David Crow13-Apr-09 7:32 
QuestionDetect copied file? Pin
steve7606313-Apr-09 6:57
steve7606313-Apr-09 6:57 
AnswerRe: Detect copied file? Pin
David Crow13-Apr-09 7:28
David Crow13-Apr-09 7:28 
GeneralRe: Detect copied file? Pin
steve7606313-Apr-09 8:40
steve7606313-Apr-09 8:40 
The license file is a simple text file (scrambled so it's not obvious what information is what).

What I want to do is to create the file on my computer and distribute it to customers (on a floppy/CD/Flash Drive). When they run our app (which is not copy protected), it will look for and read the new license file and extract the information from it. It then re-writes the file so it can't be used again.

We do not record any hardware specifics of the installation, so I can't 'key' the license file to a specific machine.

What I'd hoped to do was to record (in the file) the date of it's creation...then, when our app reads the file, it checks the date stamp on the file and if it didn't match, it wouldn't apply the license. Alas, when I make a copy of the license file, all the dates I can find (Creation, Last Accessed, and Last Written) appear to copy too.

Are there any attributes of a copied file that are different from the original that I can use to detect an unauthorized copy?
GeneralRe: Detect copied file? Pin
Luc 64801113-Apr-09 9:45
Luc 64801113-Apr-09 9:45 
AnswerRe: Detect copied file? [modified] Pin
steve7606313-Apr-09 11:04
steve7606313-Apr-09 11:04 
AnswerRe: Detect copied file? Pin
john563213-Apr-09 19:48
john563213-Apr-09 19:48 
QuestionDeleted File Pin
recmisi13-Apr-09 6:34
recmisi13-Apr-09 6:34 
AnswerRe: Deleted File Pin
David Crow13-Apr-09 9:00
David Crow13-Apr-09 9:00 
GeneralRe: Deleted File Pin
recmisi13-Apr-09 16:33
recmisi13-Apr-09 16:33 
GeneralRe: Deleted File Pin
john563213-Apr-09 19:45
john563213-Apr-09 19:45 
AnswerRe: Deleted File Pin
Divyang Mithaiwala13-Apr-09 20:58
Divyang Mithaiwala13-Apr-09 20:58 
QuestionHow to cancel during serialization on CDocument Pin
Joseph Marzbani13-Apr-09 5:21
Joseph Marzbani13-Apr-09 5:21 
QuestionHow to cancel CDocument::Serialaize()? Pin
Joseph Marzbani13-Apr-09 5:17
Joseph Marzbani13-Apr-09 5:17 
QuestionQuestion on I/O stream and for loop Pin
Mohamed_Khalil13-Apr-09 2:02
Mohamed_Khalil13-Apr-09 2:02 
AnswerRe: Question on I/O stream and for loop Pin
Rajesh R Subramanian13-Apr-09 4:50
professionalRajesh R Subramanian13-Apr-09 4:50 
QuestionRe: Question on I/O stream and for loop Pin
David Crow13-Apr-09 5:08
David Crow13-Apr-09 5:08 
QuestionCalling a VS2008 DLL from VS 6.0 dll Pin
rana ray13-Apr-09 0:43
rana ray13-Apr-09 0:43 
AnswerRe: Calling a VS2008 DLL from VS 6.0 dll Pin
_AnsHUMAN_ 13-Apr-09 1:10
_AnsHUMAN_ 13-Apr-09 1:10 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Rajesh R Subramanian13-Apr-09 1:26
professionalRajesh R Subramanian13-Apr-09 1:26 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
_AnsHUMAN_ 13-Apr-09 1:34
_AnsHUMAN_ 13-Apr-09 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.