Click here to Skip to main content
16,004,761 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding Members to a Base Class Pin
ForNow1-Jul-07 14:19
ForNow1-Jul-07 14:19 
GeneralRe: Adding Members to a Base Class Pin
Steve Echols1-Jul-07 17:32
Steve Echols1-Jul-07 17:32 
GeneralRe: Adding Members to a Base Class Pin
Mark Salsbery2-Jul-07 6:59
Mark Salsbery2-Jul-07 6:59 
GeneralRe: Adding Members to a Base Class Pin
Mark Salsbery2-Jul-07 7:01
Mark Salsbery2-Jul-07 7:01 
GeneralRe: Adding Members to a Base Class Pin
ForNow2-Jul-07 12:13
ForNow2-Jul-07 12:13 
QuestionURLDownloadToFile dont work in worker thread [modified] Pin
awah1-Jul-07 5:19
awah1-Jul-07 5:19 
AnswerRe: URLDownloadToFile dont work in worker thread Pin
Mark Salsbery1-Jul-07 9:00
Mark Salsbery1-Jul-07 9:00 
Questionproblem in USB Pen Drive detection Pin
cyberanee1-Jul-07 3:42
cyberanee1-Jul-07 3:42 
I have an data-acquisition application in which data-logging is
performed constantly and data is stored in a CF Card, which acts as the primary data-storage device for the system.

The Windows CE image that i have loaded has support for automatic
detection of USB mass storage devices.

The User can retrive the data from the system (CF Card) thru USB Drive.

There is no screen or console , it is an industrial Controller.

The data acquistion goes on constantly , and the applicaiton
periodically polls the USB slot to see if the user has inserted any
USB Drive in it.

I am using a 4 m long cable for USB Pen drive. This is unavoidable!
The problem caused due to this is that the Pen Drive is sometimes not detected byt he Win CE system. Once the pen drive is not detected, it is never subsequently detected. I want to know which driver is responsible for this, and how I can trap any errors occuring in the USB detection operation. I know tht in case of any errors, the driver disables this device on tht USB port. But it allows the same device on the second USB port , and detectes it too. I observed this during internal testing,,,there is only one port at the client site though.
I think the bus enumeration feature of the USB Host driver disables this device if it cannot detect it in some number of tries.

I was thinking of a solution in which I could clear any error that occurs on the USB port, so that the USB driver wud re-enable the device and detect it.

How can I detect any errors that occur at the Port? How can i clear these errors?

Regards
-CR
QuestionWhere to declare global variables? Pin
KaKa'1-Jul-07 1:48
KaKa'1-Jul-07 1:48 
AnswerRe: Where to declare global variables? Pin
john56321-Jul-07 3:45
john56321-Jul-07 3:45 
AnswerRe: Where to declare global variables? Pin
Arman S.1-Jul-07 4:33
Arman S.1-Jul-07 4:33 
AnswerRe: Where to declare global variables? Pin
Michael Dunn1-Jul-07 12:22
sitebuilderMichael Dunn1-Jul-07 12:22 
QuestionDLL load prevention Pin
Perspx1-Jul-07 1:13
Perspx1-Jul-07 1:13 
QuestionRe: DLL load prevention Pin
David Crow2-Jul-07 4:46
David Crow2-Jul-07 4:46 
Questionclosing application Pin
john56321-Jul-07 0:24
john56321-Jul-07 0:24 
AnswerRe: closing application Pin
Arman S.1-Jul-07 4:26
Arman S.1-Jul-07 4:26 
AnswerRe: closing application Pin
Stephen Hewitt1-Jul-07 15:10
Stephen Hewitt1-Jul-07 15:10 
Questioncall webbrowser.Navigate within a thread via post message to UI thread Pin
awah30-Jun-07 21:12
awah30-Jun-07 21:12 
QuestionScenarios for Deployment MFC dlg based application Pin
ndristephane30-Jun-07 20:59
ndristephane30-Jun-07 20:59 
AnswerRe: Scenarios for Deployment MFC dlg based application Pin
Rajesh R Subramanian30-Jun-07 21:22
professionalRajesh R Subramanian30-Jun-07 21:22 
AnswerRe: Scenarios for Deployment MFC dlg based application Pin
Mark Salsbery1-Jul-07 9:15
Mark Salsbery1-Jul-07 9:15 
Questionmanifest file Pin
saisp30-Jun-07 20:56
saisp30-Jun-07 20:56 
AnswerRe: manifest file Pin
Paresh Chitte1-Jul-07 18:28
Paresh Chitte1-Jul-07 18:28 
GeneralRe: manifest file Pin
tom groezer4-Jul-07 8:59
tom groezer4-Jul-07 8:59 
GeneralRe: manifest file Pin
Paresh Chitte5-Jul-07 18:40
Paresh Chitte5-Jul-07 18:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.