i'm new to java and tried to make an application that detects the hard disks connected to my computer.
i used native for accessing windows ioctls that i compiled in a .dll.
the .jar i made is working in windows 2003 but when i tried it in windows 7, i can't detect the disks unless i run netbeans as administrator and then run the code.
when i run the .jar in win7, it doesn't show the drives.
is there any way to help me detect devices in windows 7? i don't know if its the dll or the jar.