mutleey Posted October 18, 2019 Share Posted October 18, 2019 Guys, does anyone have this dll to share? https://www.autoitscript.com/forum/topic/99408-umount-usb/?do=findComment&comment=713517 The link Yashied posted is down. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 18, 2019 Moderators Share Posted October 18, 2019 This topic shows three ways to do it without the dll; why use an external file if you do not need to: mutleey 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
mutleey Posted October 19, 2019 Author Share Posted October 19, 2019 (edited) JLogan3o13 the dll would suit me better since it is an adaptation to use on mach3 (cnc control). sorry my bad english. Edited October 19, 2019 by mutleey Link to comment Share on other sites More sharing options...
ModemJunki Posted October 22, 2019 Share Posted October 22, 2019 If you can't find the DLL, have a look at this link. I modified this to be able to recognize USB hard disks (devices which present as HDD vs. being USB flash drives). It works very well. mutleey 1 Always carry a towel. Link to comment Share on other sites More sharing options...
mutleey Posted October 22, 2019 Author Share Posted October 22, 2019 ModemJunki the dll in my project would look better but i will do some testing with the script you indicated .. thanks. Link to comment Share on other sites More sharing options...
ModemJunki Posted October 22, 2019 Share Posted October 22, 2019 4 hours ago, mutleey said: ModemJunki the dll in my project would look better but i will do some testing with the script you indicated .. thanks. Do note that the version I linked is the original and does not have my modification for USB hard disks. The Zip contains the needed USB UDF. To make the modification I have made simply look for: ("SELECT * FROM Win32_DiskDrive where InterfaceType = 'USB'") and replace with: ("SELECT * FROM Win32_DiskDrive where MediaType LIKE '%Removable%' Or MediaType LIKE '%External%'") This allows use for any USB connected drive, or you can modify the SELECT however you might need. mutleey 1 Always carry a towel. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now