English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I don't even know what key words to search for on yahoo. I want to put a requirement on my software so that the disk has to be in the drive in order to run the program (like with commercially produced game disks). How do I do that?

2007-07-13 04:35:42 · 2 answers · asked by angeltear757 3 in Computers & Internet Software

2 answers

There are several ways to do this, look for the existence of a file, read from a file and check the contents or a part of the contents are what you need. A lot of programs which require a disk are actually encrypted and the key necessary to decrypt the rest of the program is read from a hidden part of a file on the disk. Windoze is not going to help you do the low level access you want to do. This was quite simple to do in olden times before Windoze when a programmer could manipulate the hardware directly. Check the Windoze API for low level calls to the disk operating system for things like drive status, directory calls and file manipulation functions.

2007-07-13 04:50:30 · answer #1 · answered by rowlfe 7 · 0 0

I would use one of the encrypted dongles instead of a disk. They give you the code to use. It's much more secure. I think RAINBOW is one of the mfr.

2007-07-13 11:40:37 · answer #2 · answered by Jim 7 · 0 0

fedest.com, questions and answers