Click here to Skip to main content
Page 1 of 2
Page Size: 10 · 25 · 50


Author filtered by: Jan Dolinay [x]
Re: Speed tests by Jan Dolinay
Forum Message 14 May 2013  
Thanks for the link. It's really interesting. The results for digitalWrite seems to match. :) 224 writes per millisecond gives 4.5 microseconds per digitalWrite. With direct port read, the bitRead is
Article 10 May 2013   license: CPOL
This article explains why the Arduino digital I/O functions are slow and compares them with faster implementation used in Wiring framework.
Re: Windows 7 by Jan Dolinay
Forum Message 21 Aug 2012  
I just tested it on Windows 7 (home premium 64 bit) and it works. I imported the project to Visual C# 2010 Express first, so this could be one reason - maybe it does not work if built with older ver
Forum Message 17 Nov 2009  
Thanks for sharing your fix! I will probably soon need it in my program.
Forum Message 15 Apr 2009  
Thanks. Sorry I don't write any line numbers ;) - there would be lot of them and this is not a modification you can do without understanding the code at least quite a bit. If you look into the Driv
Forum Message 15 Apr 2009  
Please see the message below from 12 Feb 2008 "How Do I Modify the Code to work in a Service".
Forum Message 9 Jan 2009  
Hello, If after you insert the card you can see the disks in Windows Explorer, then DriveDetector should detect them. It's possible that the disks are not considered "removable" by Windows and Driv
Re: Licence Conditions by Jan Dolinay
Forum Message 9 Jan 2009  
Yes, it's The Code Project Open License (CPOL).
Forum Message 20 Dec 2008  
Hi GM, Thanks. Sorry, but I don't know much USB devices; haven't even heard about Unmounted volumes before. All I can recommend is to look at MSDN into the documentation for WM_DEVICECHANGE:
Re: Great article by Jan Dolinay
Forum Message 29 Sep 2008  
Hi and Thanks! I don't know if there is any unique ID of flash drive, but don't think so. Even if there would be, it would probably be possible to change it, same as you can change it for hard dri
Re: Code license? by Jan Dolinay
Forum Message 20 Aug 2008  
Yes, feel free to use it in any project in any way.
Forum Message 4 Jun 2008  
I am glad that the code is useful. Now I see what you mean, there really is the "Eject" command. As for helping I thought I already did by writing that the previous post. ;) The "Eject" or "Uninsta
Forum Message 3 Jun 2008  
Hi, If the same drive is detected when using the system tray icon but not using the my computer way, the only reason I can think of is that Windows do not send the notification message. Or it sends
Forum Message 29 May 2008  
The code does not detect devices which are not volumes (which do not show up in Windows Explorer as a drive). Please see the earlier post "How to detect USB device removal?" for solution.
Re: Thanks by Jan Dolinay
Forum Message 16 Apr 2008  
I am glad it's useful for you. Good luck at ImagineCup!
Forum Message 15 Apr 2008  
Sorry, what I wrote above is all I know about this. :) Perhaps someone who already solved this will post his result...
Forum Message 31 Mar 2008  
Sorry, I didn't try the code and thought about the DriveType as a flag. You're right. It's either Removable or CDRom.
Forum Message 30 Mar 2008  
It should be possible to filter out CD and DVD's using DriveInfo. For example, in the DeviceArrived event handler you could use code like this: private void OnDriveArrived(object sender, DriveDetec
Forum Message 13 Feb 2008  
The easiest way would probably be to use the "native" NET framework way of detecting device changes - please see the post here from March 31 2007. It uses WqlEventQuery. I didn't try it myself but it
Forum Message 25 Jan 2008  
Hi, Sure I will be interested in the version with support for multiple devices. You are right about the mDeviceNotifyHandle and other variables being overwritten. There needs to be array instead of
Forum Message 23 Jan 2008  
Hi Yosi, Thanks. I think this problem may occur by combination of 2 factors: 1) DriveDetector is able to monitor only one device. If you register multiple devices (as you write: "calling Regist
Forum Message 14 Jan 2008  
I seems unlikely to me that some antivirus program would or could prevent windows from sending the message. Please note that the sample program only works with mass storage USB devices - those which a
Forum Message 14 Jan 2008  
Please look at the older post "USb device does not detect" below, this may be the same problem.
Article 8 Nov 2007   license: CPOL
An article on detecting insertion and removal of removable drives in C#
Forum Message 8 Nov 2007  
DriveDetector only detects disks (volumes). If you look into the code in DriveDetector.cs, into the WndProc, you will see the following: ... case DBT_DEVICEARRIVAL: d

Page 1 of 2
1 2


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid