Click here to Skip to main content
15,891,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Assertion error upon second run of thread Pin
searcher0823-Oct-06 6:33
searcher0823-Oct-06 6:33 
GeneralRe: Assertion error upon second run of thread Pin
Blake Miller23-Oct-06 7:42
Blake Miller23-Oct-06 7:42 
GeneralRe: Assertion error upon second run of thread Pin
searcher0823-Oct-06 13:18
searcher0823-Oct-06 13:18 
GeneralRe: Assertion error upon second run of thread Pin
Blake Miller24-Oct-06 2:36
Blake Miller24-Oct-06 2:36 
GeneralRe: Assertion error upon second run of thread Pin
searcher0824-Oct-06 13:11
searcher0824-Oct-06 13:11 
GeneralRe: Assertion error upon second run of thread Pin
Blake Miller25-Oct-06 3:55
Blake Miller25-Oct-06 3:55 
QuestionUSB Specific Programming Pin
legit22-Oct-06 14:43
legit22-Oct-06 14:43 
AnswerRe: USB Specific Programming Pin
Cedric Moonen22-Oct-06 20:24
Cedric Moonen22-Oct-06 20:24 
legit wrote:
Is USB just another serial device or does it require a special kind of communication?


No, USB doesn't work the same way as a serial port. Every USB device is shipped with a device driver. What you need to do is get a handle on this driver (with CreateFile) and then you'll be able to communicate with your device by sending IO codes to your driver (using DeviceIOControl) these codes should normally be documented with the driver (there are specific to your device).
Now, if the device you are using is a USB-to-serial module, then the driver simulate a COM port and you can use it the same way as a standard COM port.


Cédric Moonen
Software developer

Charting control [Updated - v1.1]

GeneralRe: USB Specific Programming Pin
legit23-Oct-06 5:03
legit23-Oct-06 5:03 
Questionresource hiding Pin
Lord_Vader22-Oct-06 11:30
Lord_Vader22-Oct-06 11:30 
AnswerRe: resource hiding Pin
Ali Mojtabaee22-Oct-06 12:28
Ali Mojtabaee22-Oct-06 12:28 
GeneralRe: resource hiding Pin
jhwurmbach23-Oct-06 0:57
jhwurmbach23-Oct-06 0:57 
QuestionDatabase application design Pin
Francesco Aruta22-Oct-06 11:08
Francesco Aruta22-Oct-06 11:08 
QuestionCString.Format - new line? Pin
Oliver12322-Oct-06 11:00
Oliver12322-Oct-06 11:00 
AnswerRe: CString.Format - new line? Pin
Le Thanh Cong22-Oct-06 17:37
Le Thanh Cong22-Oct-06 17:37 
AnswerRe: CString.Format - new line? Pin
David Crow23-Oct-06 4:13
David Crow23-Oct-06 4:13 
GeneralRe: CString.Format - new line? Pin
Oliver12323-Oct-06 10:45
Oliver12323-Oct-06 10:45 
GeneralRe: CString.Format - new line? Pin
David Crow24-Oct-06 3:08
David Crow24-Oct-06 3:08 
GeneralRe: CString.Format - new line? Pin
Oliver12325-Oct-06 10:01
Oliver12325-Oct-06 10:01 
QuestionSendMessage/PostMessage Pin
sawerr22-Oct-06 10:49
sawerr22-Oct-06 10:49 
AnswerRe: SendMessage/PostMessage Pin
Midworld0822-Oct-06 11:40
Midworld0822-Oct-06 11:40 
AnswerRe: SendMessage/PostMessage Pin
Mark Salsbery22-Oct-06 11:44
Mark Salsbery22-Oct-06 11:44 
AnswerRe: SendMessage/PostMessage Pin
Michael Dunn22-Oct-06 12:09
sitebuilderMichael Dunn22-Oct-06 12:09 
GeneralRe: SendMessage/PostMessage Pin
sawerr22-Oct-06 12:58
sawerr22-Oct-06 12:58 
QuestionTime and Date [modified] Pin
locoone22-Oct-06 8:32
locoone22-Oct-06 8:32 

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.