Click here to Skip to main content
16,016,712 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Looking for GIS knowledge Pin
FlamTaps12-Aug-05 9:10
FlamTaps12-Aug-05 9:10 
GeneralVC++ and Java Pin
llp00na12-Aug-05 7:56
llp00na12-Aug-05 7:56 
GeneralRe: VC++ and Java Pin
Luther Baker12-Aug-05 11:41
Luther Baker12-Aug-05 11:41 
GeneralLicense Keys Pin
Luther Baker12-Aug-05 7:47
Luther Baker12-Aug-05 7:47 
GeneralRe: License Keys Pin
Luther Baker12-Aug-05 7:53
Luther Baker12-Aug-05 7:53 
GeneralRe: License Keys Pin
Wes Aday12-Aug-05 9:12
professionalWes Aday12-Aug-05 9:12 
GeneralRe: License Keys Pin
Luther Baker12-Aug-05 11:18
Luther Baker12-Aug-05 11:18 
GeneralRe: License Keys Pin
SunKnight012-Aug-05 10:19
SunKnight012-Aug-05 10:19 
My personal preference is to use the install date/time in a reversable math function and store it in an obscure place in the registry.

Any activation/licence keys would then be tied to the specific date/time of the install and therefore useless for activating other installations of the program.

Of course that makes the keys useless for re-installation purposes on the same system also (after a wipe out and reload of OS), which would be a legitimate use.

One way to identify a system by hardware would be to read the mac address of the NIC. Again far from foolproof as it assumes a system will have a NIC and it won't be replaced, but if you work with a combination of the date/time and MAC address and allow your activation keys to work if either matches the original, you should get pretty good security with minimal false positives.
GeneralRe: License Keys Pin
Luther Baker12-Aug-05 11:31
Luther Baker12-Aug-05 11:31 
GeneralRe: License Keys Pin
Trollslayer12-Aug-05 22:28
mentorTrollslayer12-Aug-05 22:28 
GeneralRe: License Keys Pin
Luther Baker13-Aug-05 4:16
Luther Baker13-Aug-05 4:16 
QuestionHow to get current directory path in mfc?? Pin
c+-12-Aug-05 6:51
c+-12-Aug-05 6:51 
AnswerRe: How to get current directory path in mfc?? Pin
BlackDice12-Aug-05 7:03
BlackDice12-Aug-05 7:03 
AnswerRe: How to get current directory path in mfc?? Pin
David Crow12-Aug-05 7:44
David Crow12-Aug-05 7:44 
AnswerRe: How to get current directory path in mfc?? Pin
Ivan Cachicatari12-Aug-05 9:15
Ivan Cachicatari12-Aug-05 9:15 
AnswerRe: How to get current directory path in mfc?? Pin
ThatsAlok12-Aug-05 19:10
ThatsAlok12-Aug-05 19:10 
AnswerRe: How to get current directory path in mfc?? Pin
c+-12-Aug-05 22:31
c+-12-Aug-05 22:31 
GeneralCompilation error Pin
Ivan Cachicatari12-Aug-05 6:06
Ivan Cachicatari12-Aug-05 6:06 
GeneralRe: Compilation error Pin
Chris Losinger12-Aug-05 8:52
professionalChris Losinger12-Aug-05 8:52 
GeneralRe: Compilation error Pin
Ivan Cachicatari12-Aug-05 9:05
Ivan Cachicatari12-Aug-05 9:05 
GeneralMessages and Windows Pin
KaMinek12-Aug-05 5:41
sussKaMinek12-Aug-05 5:41 
GeneralRe: Messages and Windows Pin
SunKnight012-Aug-05 10:26
SunKnight012-Aug-05 10:26 
GeneralRe: Messages and Windows Pin
xSoptik12-Aug-05 10:58
xSoptik12-Aug-05 10:58 
Generalnotifying Windows the codepage used Pin
Ali Tavakol12-Aug-05 5:28
Ali Tavakol12-Aug-05 5:28 
GeneralQ about WINDBG Pin
valerie9912-Aug-05 4:44
valerie9912-Aug-05 4:44 

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.