I don't know that there's any direct way of finding out the last drive to be added, but if you monitor the drives every 5 seconds or so you can determine which is the newest one to be added (but that won't necessarily mean it's your windows mobile, so I hope you have a way of checking!)<br>
<br><div class="gmail_quote">2009/12/16 "Arí Ricardo Ody" <span dir="ltr"><<a href="mailto:aro52@gmx.com">aro52@gmx.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="background-color:rgb(255, 255, 255);background-repeat:repeat;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;padding-top:5px;padding-bottom:5px;padding-left:5px;padding-right:5px">
<p style="font-family:Verdana"><font size="1">Hi!</font><span></span></p><p><br><font size="1" style="font-family:Verdana"><span></span></font></p><p><font size="1" style="font-family:Verdana"><span>Suppose you connect a Handheld running windows mobile via USB cable to a windows machine. <br>
</span></font></p><p><font size="1" style="font-family:Verdana"><span><br></span></font></p><p><font size="1" style="font-family:Verdana"><span>Is there a way that I can recognize the new disk added to the system, e.g., determine what of the disks existing in the windows machine is the disk added when I connected the handheld?</span></font><span></span></p>
<p><br><font size="1" style="font-family:Verdana"><span></span></font></p><p><font size="1" style="font-family:Verdana"><span>Greetings from Sao Paulo - Brazil</span></font><span></span></p><p><br><font size="1" style="font-family:Verdana"><span></span></font></p>
<p><font size="1" style="font-family:Verdana"><span>Ricardo<br></span></font></p></div>
<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br>