Click here to Skip to main content
15,943,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CAsyncSocket::connect ipaddr ? Pin
Richard MacCutchan16-Feb-16 22:12
mveRichard MacCutchan16-Feb-16 22:12 
GeneralRe: CAsyncSocket::connect ipaddr ? Pin
ForNow17-Feb-16 3:39
ForNow17-Feb-16 3:39 
GeneralRe: CAsyncSocket::connect ipaddr ? Pin
Richard MacCutchan17-Feb-16 4:22
mveRichard MacCutchan17-Feb-16 4:22 
QuestionMFC Fragility to multiple threads Pin
Bram van Kampen11-Feb-16 13:43
Bram van Kampen11-Feb-16 13:43 
AnswerRe: MFC Fragility to multiple threads Pin
Jochen Arndt11-Feb-16 21:19
professionalJochen Arndt11-Feb-16 21:19 
AnswerRe: MFC Fragility to multiple threads Pin
CPallini11-Feb-16 21:37
mveCPallini11-Feb-16 21:37 
GeneralRe: MFC Fragility to multiple threads Pin
Bram van Kampen15-Feb-16 14:32
Bram van Kampen15-Feb-16 14:32 
AnswerRe: MFC Fragility to multiple threads Pin
Albert Holguin12-Feb-16 3:53
professionalAlbert Holguin12-Feb-16 3:53 
GeneralRe: MFC Fragility to multiple threads Pin
Bram van Kampen16-Mar-16 14:15
Bram van Kampen16-Mar-16 14:15 
AnswerRe: MFC Fragility to multiple threads Pin
Leif Simon Goodwin14-Mar-16 5:09
Leif Simon Goodwin14-Mar-16 5:09 
QuestionUSB3 port: Programmatically force it to operate in USB2 mode Pin
Leif Simon Goodwin11-Feb-16 2:55
Leif Simon Goodwin11-Feb-16 2:55 
AnswerRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Richard MacCutchan11-Feb-16 4:09
mveRichard MacCutchan11-Feb-16 4:09 
GeneralRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Leif Simon Goodwin11-Feb-16 6:48
Leif Simon Goodwin11-Feb-16 6:48 
GeneralRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Richard MacCutchan11-Feb-16 10:01
mveRichard MacCutchan11-Feb-16 10:01 
GeneralRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Leif Simon Goodwin16-Feb-16 3:20
Leif Simon Goodwin16-Feb-16 3:20 
AnswerRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Kornfeld Eliyahu Peter11-Feb-16 7:29
professionalKornfeld Eliyahu Peter11-Feb-16 7:29 
AnswerRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Jochen Arndt11-Feb-16 23:01
professionalJochen Arndt11-Feb-16 23:01 
You may use an "USB 3 sharing switch" (use that search term). They provide connection of an USB device to two or more computers but may be off course also used to connect to two ports of one computer. These usually have a key to switch the ports and may support auto detection.

If you don't want the operator to press the switch key, you may look for one that supports other switching methods. I found at least one that allows switching using a hotkey when connected to a Windows PC. Your test program might then simulate the hotkey activation.

If the switch has an auto detection it should be also possible to trigger that by disabling one of the PC USB ports. But I have done such with Linux only so far and don't know how to do that with Windows. Note that this method (like the one initially asked) requires administrative privileges.
GeneralRe: USB3 port: Programmatically force it to operate in USB2 mode Pin
Leif Simon Goodwin16-Feb-16 3:16
Leif Simon Goodwin16-Feb-16 3:16 
QuestionI this correct? Pin
VISWESWARAN199810-Feb-16 0:00
professionalVISWESWARAN199810-Feb-16 0:00 
AnswerRe: I this correct? Pin
Richard MacCutchan10-Feb-16 0:09
mveRichard MacCutchan10-Feb-16 0:09 
GeneralRe: I this correct? Pin
VISWESWARAN199810-Feb-16 0:40
professionalVISWESWARAN199810-Feb-16 0:40 
GeneralRe: I this correct? Pin
Richard MacCutchan10-Feb-16 1:03
mveRichard MacCutchan10-Feb-16 1:03 
GeneralRe: I this correct? Pin
VISWESWARAN199810-Feb-16 1:28
professionalVISWESWARAN199810-Feb-16 1:28 
GeneralRe: I this correct? Pin
Richard MacCutchan10-Feb-16 1:41
mveRichard MacCutchan10-Feb-16 1:41 
PraiseRe: I this correct? Pin
David Crow10-Feb-16 4:10
David Crow10-Feb-16 4:10 

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.