USB Image Tool 1.67
USB Image Tool 1.67 now detects the media insertion/removal for media for card readers and provides volume tags for the automatic file name suggestion. I also fixed a bug that sometimes showed Code: 0 as last Windows error code. On the technical side with this version I switched to VS2013 and .NET 4.0 (previous versions were still built with VS2010 and .NET 3.5). Minimum required OS is still Windows XP.
Tags: USB Image Tool
September 12th, 2014 at 2:58 pm
“added: show hardware id string (vendor & product id) & volume serial”
Awesome! Thank you for adding the “Volume Serial” number. I was going to add this as a feature request.
Great work!
September 12th, 2014 at 8:41 pm
You know what would be some handy info? Adding an API to see if the device is Write Protected.
BOOL _IsDeviceWriteProtected(UINT nDeviceID);
Just another idea 🙂
September 13th, 2014 at 9:41 am
@Andy: Thanks for your feedback. Please note, that using the usbit32.dll directly for your application requires my permission (please see license.txt – “Portions of this software are not be used in other projects without prior permission.”) and also the post on Version 1.60. I have opened the dll interface for three projects, but they have asked for my permission. If you have a project, you want to use the usbit32.dll for, please let me know.
September 13th, 2014 at 1:22 am
Hi
We have used USB Image Tool for a couple of years, and we thank you for a great program.
After we updated to version 1.67 we have found that the program works properly in Windows 7 but will not work in Windows XP.
Your advice would be appreciated.
Regards
Rob & Lesley McCormick
September 13th, 2014 at 9:59 am
@Rob&Lesley: Thanks for reporting. Please check your forum post.
September 13th, 2014 at 6:28 pm
@Alex I am just using it for a personal project… Nothing commercial or that will be distributed to anyone. I am using it to back up the hundreds of SD cards I have on hand.
Anyway, I figured out how to do it without having to do too much work:
DWORD dwFlags = 0;
if(GetVolumeInformationW(szPath,NULL,0,NULL,NULL,&dwFlags,NULL,0)){
return ((dwFlags&FILE_READ_ONLY_VOLUME)==FILE_READ_ONLY_VOLUME);
}
Also, whats the second DWORD in every Volume API? It looks like some sort of boolean value that’s always set to TRUE.
September 13th, 2014 at 8:52 pm
@Andy: If it’s just for personal use, it’s ok for me. Please don’t distribute it. That would be definitively violating the license. One of the reasons is, that I don’t want to document or support the API itself. It’s not for public use. (second DWORD is be the volume number in all GetVolume calls, don’t know what specific function you are refering to).
October 14th, 2014 at 10:52 pm
Hi Alex
We’re thinking about adding useful links to our USB section, I wonder if you think this your USB Image Tool would be suitable.
I’ve personally used a similar thing with a Ubuntu system some years ago.
October 15th, 2014 at 7:24 pm
@Paul: If course you can add a link. Please use http://www.usbimagetool.com for that. PS: The command line tool is also used to fill multiple flash drives at once by adding the commands to a batch file.
October 7th, 2017 at 10:55 am
My system (windows 10) says: Usbit32.dll not found, because there are errors unpacking the zip file. Sad, so what can I do? Is it a bug?
October 9th, 2017 at 5:53 pm
@Karsten: There were some troubles with my website hoster. Downloaded files might have been incomplete or corrupt.