Hello, Here you can find code to list all drives in Windows:
http://wiki.freepascal.org/Windows_Programming_Tips#Listing_all_available_drives I don't know how to get warned when a drive is added, but as said you could periodically check the drives, and probably the drive type can help check if it is a pocketpc or not. I don´t know which type is for pocketpc but a simple test should show this. bye, -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
