Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: inhibit modal dialog box Pin
Stephen Hewitt28-Nov-06 19:12
Stephen Hewitt28-Nov-06 19:12 
QuestionDifferences between Process id and Handle Pin
sawerr28-Nov-06 12:04
sawerr28-Nov-06 12:04 
AnswerRe: Differences between Process id and Handle Pin
Mark Salsbery28-Nov-06 14:35
Mark Salsbery28-Nov-06 14:35 
GeneralRe: Differences between Process id and Handle Pin
Bram van Kampen28-Nov-06 15:15
Bram van Kampen28-Nov-06 15:15 
GeneralRe: Differences between Process id and Handle Pin
sawerr28-Nov-06 21:29
sawerr28-Nov-06 21:29 
GeneralRe: Differences between Process id and Handle Pin
Mark Salsbery29-Nov-06 4:34
Mark Salsbery29-Nov-06 4:34 
GeneralRe: Differences between Process id and Handle Pin
sawerr29-Nov-06 6:01
sawerr29-Nov-06 6:01 
QuestionIs there a way to specify which TCP/IP stack to communicate with? Pin
mjhnyc28-Nov-06 11:22
mjhnyc28-Nov-06 11:22 
I'm working on a C++ MFC project that has a connection with a MSSQL Server and also makes HTTP requests.

What I would like to do is set up the program so all of the MSSQL traffic takes place on the local network (hardwired ethernet interface) but the HTTP communication takes place on a dialup network (modem interface). Basically, I want all of the HTTP traffic go through the external dialup network, but the database traffic needs to stay inside my LAN.

I'm using the standard MFC CRecordset classes to access the MSSQL Server (using TCP/IP via ODBC) and for my HTTP functions, I am using MFC CInternetSession and CHttpFile classes.

Is there a way I can bind these classes to a specific interface? I'm sure I can enumerate the network interfaces easily enough and identify them, but I'm not sure how to route TCP/IP traffic to a specific interface depending on the task.

Any help is greatly appreciated.
AnswerRe: Is there a way to specify which TCP/IP stack to communicate with? Pin
Mark Salsbery28-Nov-06 15:46
Mark Salsbery28-Nov-06 15:46 
GeneralRe: Is there a way to specify which TCP/IP stack to communicate with? Pin
mjhnyc29-Nov-06 8:17
mjhnyc29-Nov-06 8:17 
GeneralRe: Is there a way to specify which TCP/IP stack to communicate with? Pin
Mark Salsbery29-Nov-06 8:37
Mark Salsbery29-Nov-06 8:37 
QuestionMonthCalendar & DayState & Color ? Pin
schirrmie28-Nov-06 10:17
schirrmie28-Nov-06 10:17 
Questionget all icon handle from system tray area Pin
swarup28-Nov-06 8:28
swarup28-Nov-06 8:28 
AnswerRe: get all icon handle from system tray area Pin
David Crow28-Nov-06 9:44
David Crow28-Nov-06 9:44 
GeneralRe: get all icon handle from system tray area Pin
swarup29-Nov-06 8:04
swarup29-Nov-06 8:04 
AnswerRe: get all icon handle from system tray area Pin
swarup30-Dec-06 4:33
swarup30-Dec-06 4:33 
QuestionGDI+ 1.1 Does it exist? Pin
zaccheus28-Nov-06 8:20
zaccheus28-Nov-06 8:20 
QuestionRe: GDI+ 1.1 Does it exist? Pin
David Crow28-Nov-06 9:25
David Crow28-Nov-06 9:25 
AnswerRe: GDI+ 1.1 Does it exist? Pin
zaccheus28-Nov-06 12:27
zaccheus28-Nov-06 12:27 
AnswerRe: GDI+ 1.1 Does it exist? Pin
Joe Woodbury28-Nov-06 16:26
professionalJoe Woodbury28-Nov-06 16:26 
GeneralRe: GDI+ 1.1 Does it exist? Pin
zaccheus30-Nov-06 9:46
zaccheus30-Nov-06 9:46 
Questiongzip compression and decompression Pin
Richard Andrew x6428-Nov-06 7:29
professionalRichard Andrew x6428-Nov-06 7:29 
AnswerRe: gzip compression and decompression Pin
ldaoust28-Nov-06 8:07
ldaoust28-Nov-06 8:07 
GeneralRe: gzip compression and decompression Pin
Richard Andrew x6428-Nov-06 8:12
professionalRichard Andrew x6428-Nov-06 8:12 
GeneralRe: gzip compression and decompression Pin
Richard Andrew x6428-Nov-06 9:00
professionalRichard Andrew x6428-Nov-06 9:00 

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.