1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with Timer

Discussion in 'MFC' started by Anupama, Jun 29, 2006.

  1. Anupama

    Anupama New Member

    Joined:
    May 22, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    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.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    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.
     

Share This Page