Click here to Skip to main content
15,924,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GIF files/images - where can I get some source code samples? Pin
Paul Selormey10-Apr-00 1:44
Paul Selormey10-Apr-00 1:44 
GeneralBitmap in a MDI Pin
JohnDodson15-Mar-00 20:49
professionalJohnDodson15-Mar-00 20:49 
GeneralRE: Bitmap in a MDI Pin
Mike Dunn18-Mar-00 19:24
Mike Dunn18-Mar-00 19:24 
GeneralRe: Bitmap in a MDI Pin
Paul Selormey10-Apr-00 1:49
Paul Selormey10-Apr-00 1:49 
GeneralCustom Control in a DLL Pin
Russell Robinson15-Mar-00 20:30
Russell Robinson15-Mar-00 20:30 
QuestionHow can I give a 30 day working version of a program? Pin
Erich Ruth15-Mar-00 9:28
Erich Ruth15-Mar-00 9:28 
AnswerRE: How can I give a 30 day working version of a program? Pin
Alex Gorev16-Mar-00 4:25
Alex Gorev16-Mar-00 4:25 
AnswerRE: How can I give a 30 day working version of a program? Pin
Anonymous23-Mar-00 15:51
suss Anonymous23-Mar-00 15:51 
Don't do this with a hardcoded password. Use the registry, and an install program.

First step. When you install the software with the install program, and you setup all your default registry settings, add a new registry item (call it something inconspicuous).

Second Step. Get a GUID number and the date you are doing the installation. Using a (secret) calculation, merge these two numbers together, and store them both in the registry.

Now when you start your program, get the current date. Calculate the install date from the registry data, and work out how many days are left for the user to use your software.

Of course there are many other possible methods. This is just one way, there may be a way which suits you better. Of course you could always just store the install date in the registry, but there is nothing to stop someone changing it. For that matter theres nothing stopping someone really determined from cracking the method I just described.

Good Luck.
GeneralRe: RE: How can I give a 30 day working version of a program? Pin
ArryTheDog27-Apr-00 0:43
ArryTheDog27-Apr-00 0:43 
GeneralRunning a console program Pin
Claude Gagnon15-Mar-00 7:15
Claude Gagnon15-Mar-00 7:15 
GeneralRe: Running a console program Pin
Paul Selormey10-Apr-00 2:13
Paul Selormey10-Apr-00 2:13 
GeneralNTP Pin
dek15-Mar-00 6:58
dek15-Mar-00 6:58 
Generalprinting bendy text Pin
Duane15-Mar-00 2:29
Duane15-Mar-00 2:29 
Generalwriting to a port in Window NT Pin
Norman Goris14-Mar-00 8:54
sussNorman Goris14-Mar-00 8:54 
GeneralCells in ADOMD VC++ Pin
Member 78113-Mar-00 7:43
Member 78113-Mar-00 7:43 
GeneralCells in ADOMD VC++ Pin
Member 78113-Mar-00 7:43
Member 78113-Mar-00 7:43 
Generaldocument file Pin
septimiu12-Mar-00 22:01
septimiu12-Mar-00 22:01 
GeneralRE: document file Pin
Mike Dunn13-Mar-00 18:56
suss Mike Dunn13-Mar-00 18:56 
Generaladvanced ui Pin
Member 254412-Mar-00 10:39
Member 254412-Mar-00 10:39 
GeneralScrolling a dialog window in a tab control Pin
Brad11-Mar-00 18:35
Brad11-Mar-00 18:35 
GeneralApplication to Shell drag and drop Pin
Member 102011-Mar-00 3:17
Member 102011-Mar-00 3:17 
GeneralProcess Module Name Pin
Anonymous11-Mar-00 3:06
suss Anonymous11-Mar-00 3:06 
GeneralRE: Process Module Name Pin
Anonymous19-Mar-00 19:37
suss Anonymous19-Mar-00 19:37 
QuestionHow save content (DC) of a MCI window as a Cbitmap (Urgent)? Pin
Julian10-Mar-00 5:32
Julian10-Mar-00 5:32 
Generalclass for ftp client and server Pin
Anonymous9-Mar-00 21:14
suss Anonymous9-Mar-00 21:14 

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.