haha01haha01 Grandmaster Cheater Supreme
Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Sat Nov 17, 2007 12:46 pm Post subject: Getting the U3 drive location |
|
|
im trying to turn a normal software into a u3 program, but to do it i need to put the correct path of the dlls and stuff in the .ini file. the problem is that i dont know what will be the drive letter of the u3 drive on each computer.
i can use HostConfigue to run a program that will find the drive letter and change it in the ini file, but i dont know how to make a program that will be able to find from what drive its being run from.
btw im pretty sure theres an api doing this cause i saw this on other program. i just dont know wich.
oh and the program is prolly going to be programmed in asm.
|
|