Problem with Timer

Anupama's Avatar
Newbie Member

I am using a Timer to poll database for after every few milliseconds.

But i have a problem that, when the control executes onTimer() and at the same time, if i plug-in a drive, My project is unable to to get the plugged-in drives HANDLE, whereas it is recognized in the windows explorer.

Whereas sometimes it is being possible.

Can anybody help me in this case.

Thank you.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
I could not get what you are asking for but for drives whenever any drive is plugged in you get a ShellNotification and you can determine on the basis of the notification recieved whether drive is added or not.