I've made an app that simply copies a complete directory to x amount of removable drives.
everything works on the 32 bit environment, but installing an running my app on windows 7 64 bit throws an "System.io.ioEx ception Device not ready"
this seems to be the line that triggers it:
it kills the app there and doesn't continue, so i'm not sure if it can be triggers again down the code, but mostly is linked to the above line.
any tips to making it work in the 64 bit world?
**UPDATE
after alot playing round i found the true cause of the problem, the above code. for whatever reason it doesn't like that "totalsize" call in a 64 bit enironment...do es any1 know why?
everything works on the 32 bit environment, but installing an running my app on windows 7 64 bit throws an "System.io.ioEx ception Device not ready"
this seems to be the line that triggers it:
Code:
DriveInfo[] drives = DriveInfo.GetDrives();
any tips to making it work in the 64 bit world?
**UPDATE
Code:
if(drives[x].TotalSize <= 34359738368)