Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Passing filename from C++ to Fortran Pin
cp98769-Dec-08 15:03
cp98769-Dec-08 15:03 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 20:46
RedSonja9-Dec-08 20:46 
GeneralRe: Passing filename from C++ to Fortran Pin
cp98769-Dec-08 21:03
cp98769-Dec-08 21:03 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 21:53
RedSonja9-Dec-08 21:53 
GeneralRe: Passing filename from C++ to Fortran Pin
cp98769-Dec-08 22:50
cp98769-Dec-08 22:50 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 22:25
sitebuilderLuc Pattyn9-Dec-08 22:25 
AnswerRe: Passing filename from C++ to Fortran Pin
RedSonja11-Dec-08 20:13
RedSonja11-Dec-08 20:13 
QuestionWinInet Multithread Problems [modified] Pin
Julian Popov8-Dec-08 22:38
Julian Popov8-Dec-08 22:38 
Hello Smile | :)

I have a MFC program with 2 threads. First is User Interface (Main) thread, and second one is worker thread that is created in the beginning and used till the end of application life. In the second thread in the begining I create CInternetSession and CHTTPConnection. I make some HTTP requests from second thread and everything is fine. But this is until I create and show InternetExplorer control in UserInterfece thread. Then something goes wrong and i lost my cookies in second thread and after a few requests my application crash (I will find where in code exactly this happened) When I show Internet Explorer control my second thread didn't make are requests. But I think that the problem is related with multithread using of WinInet libraries.

I found this problem soon because it didn't happened on computers that have all windows updates (Windows XP)

What you will recommend me to do?

P.S. I forget to mention that in second thread I make mostly a HTTPS requests
P.S. IE Control that I use is this one
http://www.codeproject.com/KB/miscctrl/simplebrowserformfc.aspx[^]

Julian Popov

абвгдежзийклмнопрстуфхцчшщъьюя

modified on Tuesday, December 9, 2008 6:04 AM

QuestionIs it possible to have an array of types ? Pin
Defenestration8-Dec-08 22:20
Defenestration8-Dec-08 22:20 
AnswerRe: Is it possible to have an array of types ? Pin
Code-o-mat8-Dec-08 23:38
Code-o-mat8-Dec-08 23:38 
AnswerRe: Is it possible to have an array of types ? Pin
Defenestration8-Dec-08 23:43
Defenestration8-Dec-08 23:43 
GeneralRe: Is it possible to have an array of types ? Pin
Code-o-mat9-Dec-08 0:01
Code-o-mat9-Dec-08 0:01 
AnswerRe: Is it possible to have an array of types ? Pin
Defenestration9-Dec-08 0:12
Defenestration9-Dec-08 0:12 
GeneralRe: Is it possible to have an array of types ? Pin
Code-o-mat9-Dec-08 0:36
Code-o-mat9-Dec-08 0:36 
GeneralRe: Is it possible to have an array of types ? Pin
Defenestration9-Dec-08 0:48
Defenestration9-Dec-08 0:48 
GeneralRe: Is it possible to have an array of types ? Pin
Code-o-mat9-Dec-08 1:19
Code-o-mat9-Dec-08 1:19 
GeneralRe: Is it possible to have an array of types ? Pin
Defenestration9-Dec-08 1:27
Defenestration9-Dec-08 1:27 
QuestionRe: Is it possible to have an array of types ? Pin
David Crow9-Dec-08 3:14
David Crow9-Dec-08 3:14 
AnswerRe: Is it possible to have an array of types ? Pin
Michael Dunn9-Dec-08 13:52
sitebuilderMichael Dunn9-Dec-08 13:52 
QuestionHow to unblock pipe write operation? Pin
sashoalm8-Dec-08 21:39
sashoalm8-Dec-08 21:39 
QuestionNeed some Bits/Bytes and Types information Pin
gabbana8-Dec-08 21:24
gabbana8-Dec-08 21:24 
AnswerRe: Need some Bits/Bytes and Types information Pin
CPallini8-Dec-08 22:16
mveCPallini8-Dec-08 22:16 
AnswerRe: Need some Bits/Bytes and Types information Pin
Code-o-mat8-Dec-08 22:22
Code-o-mat8-Dec-08 22:22 
AnswerRe: Need some Bits/Bytes and Types information Pin
gabbana8-Dec-08 22:32
gabbana8-Dec-08 22:32 
GeneralRe: Need some Bits/Bytes and Types information Pin
gabbana8-Dec-08 22:35
gabbana8-Dec-08 22:35 

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.