Click here to Skip to main content
15,914,767 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get the correct data type of table struct? Pin
utiao7-Jun-04 20:47
utiao7-Jun-04 20:47 
QuestionHow can I get local computer names on Windows 98? Pin
windsock7-Jun-04 20:09
windsock7-Jun-04 20:09 
Questionhow to use RegisterHotKey? Pin
Abhi Lahare7-Jun-04 19:44
Abhi Lahare7-Jun-04 19:44 
AnswerRe: how to use RegisterHotKey? Pin
Mike Dimmick8-Jun-04 1:33
Mike Dimmick8-Jun-04 1:33 
QuestionHow to append software register mechanism? Pin
toowit7-Jun-04 19:38
toowit7-Jun-04 19:38 
AnswerRe: How to append software register mechanism? Pin
Vadim Tabakman7-Jun-04 19:42
Vadim Tabakman7-Jun-04 19:42 
GeneralRe: How to append software register mechanism? Pin
toowit7-Jun-04 20:04
toowit7-Jun-04 20:04 
GeneralRe: How to append software register mechanism? Pin
Vadim Tabakman7-Jun-04 20:19
Vadim Tabakman7-Jun-04 20:19 
Hi toowit,

no I'm sorry I don't have a sample or demo, as I don't use this for any software that I wrote. I've only ever seen it used in companies that I have worked for.

Well, you'd have to come up with an algorithm to create this code based on harddisk serial code (although what happens when a client upgrade their harddisk???). I would then encrypt that based on a cryptographic key known by you and you only. You can then send that to the user via email.

The user cut-n-pastes this serial number into your application, where your application goes and gets the harddisk serial code, decrypts the serial number you sent and compares them. If they match, you can store the encrypted serial number in some location (eg registry, config file, xml file, database.. etc), for retrieval everytime you start the program.

I don't know of any code that you can just plug into your apps to get it to do this stuff. But there are a lot of article on CP, so there may be something for you. The advantage of writing this stuff yourself (ie the algorithm) is that it makes it that much harder to crack.

Jubjub
GeneralRe: How to append software register mechanism? Pin
toowit7-Jun-04 20:39
toowit7-Jun-04 20:39 
AnswerRe: How to append software register mechanism? Pin
Henry miller8-Jun-04 3:38
Henry miller8-Jun-04 3:38 
Questionhow could I disable Escape the dialog Pin
lonely_life7-Jun-04 19:19
lonely_life7-Jun-04 19:19 
AnswerRe: how could I disable Escape the dialog Pin
Johan Rosengren7-Jun-04 19:27
Johan Rosengren7-Jun-04 19:27 
GeneralRe: how could I disable Escape the dialog Pin
lonely_life7-Jun-04 20:33
lonely_life7-Jun-04 20:33 
GeneralRe: how could I disable Escape the dialog Pin
Johan Rosengren7-Jun-04 20:51
Johan Rosengren7-Jun-04 20:51 
GeneralRe: how could I disable Escape the dialog Pin
lonely_life7-Jun-04 21:16
lonely_life7-Jun-04 21:16 
GeneralProblm in CoInitializeEx( .. , .. ) Pin
Zeeshan Bilal7-Jun-04 19:07
Zeeshan Bilal7-Jun-04 19:07 
GeneralRe: Problm in CoInitializeEx( .. , .. ) Pin
valikac7-Jun-04 20:07
valikac7-Jun-04 20:07 
GeneralCHtmlView - getting the html contents off a webpage to process Pin
testtests7-Jun-04 18:51
testtests7-Jun-04 18:51 
GeneralRe: CHtmlView - getting the html contents off a webpage to process Pin
Andrew Quinn AUS7-Jun-04 22:04
Andrew Quinn AUS7-Jun-04 22:04 
GeneralRe: CHtmlView - getting the html contents off a webpage to process Pin
testtests7-Jun-04 22:48
testtests7-Jun-04 22:48 
GeneralRe: CHtmlView - getting the html contents off a webpage to process Pin
Andrew Quinn AUS7-Jun-04 23:07
Andrew Quinn AUS7-Jun-04 23:07 
GeneralRe: CHtmlView - getting the html contents off a webpage to process Pin
testtests7-Jun-04 23:21
testtests7-Jun-04 23:21 
GeneralRe: CHtmlView - getting the html contents off a webpage to process Pin
Andrew Quinn AUS8-Jun-04 0:09
Andrew Quinn AUS8-Jun-04 0:09 
GeneralRe: CHtmlView - getting the html contents off a webpage to process Pin
testtests8-Jun-04 4:26
testtests8-Jun-04 4:26 
GeneralI want to use Installshield ?? HOW Pin
Zeeshan Bilal7-Jun-04 18:37
Zeeshan Bilal7-Jun-04 18:37 

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.