Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Problem with Timer (http://www.go4expert.com/forums/problem-with-timer-t945/)

Anupama 29Jun2006 18:29

Problem with Timer

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 29Jun2006 19:35

Re: Problem with Timer
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.

All times are GMT +5.5. The time now is 13:55.