Acid
Dec 4th, 2000, 10:08 PM
Hello, Im making a game for school and I am almost finished. Not to waste time, in general the game uses losts of textfiles which are not encrypted, for I don't have time to write the code. What I want to do is make the game run off a CD which I will burn. How can i give that cd a unique number,if possible, so in Vb when the game loads it will check the current drive's whatever number, and match it to that number that i put in the code. In scence, all i want it is to do this:
if x (some number which you obtain by one of the api calls) = 1234567890(the unique number that I would put in the info of the cd when burning, if possible)
Also, how do I add the autorun feature on the cd. Do i just put a file called autorun.exe, and the o/s will automatically execute that file, if the autorun feature is on.
Thanks
if x (some number which you obtain by one of the api calls) = 1234567890(the unique number that I would put in the info of the cd when burning, if possible)
Also, how do I add the autorun feature on the cd. Do i just put a file called autorun.exe, and the o/s will automatically execute that file, if the autorun feature is on.
Thanks