Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvisual c++ 2005 newbie Pin
Lampros Giampouras8-Sep-06 6:48
Lampros Giampouras8-Sep-06 6:48 
AnswerRe: visual c++ 2005 newbie Pin
Jun Du8-Sep-06 7:11
Jun Du8-Sep-06 7:11 
GeneralRe: visual c++ 2005 newbie Pin
Lampros Giampouras8-Sep-06 7:28
Lampros Giampouras8-Sep-06 7:28 
AnswerRe: visual c++ 2005 newbie Pin
Cedric Moonen8-Sep-06 8:03
Cedric Moonen8-Sep-06 8:03 
QuestionRe: visual c++ 2005 newbie Pin
David Crow8-Sep-06 8:05
David Crow8-Sep-06 8:05 
AnswerRe: visual c++ 2005 newbie Pin
Cedric Moonen8-Sep-06 8:12
Cedric Moonen8-Sep-06 8:12 
GeneralRe: visual c++ 2005 newbie Pin
Jun Du8-Sep-06 9:13
Jun Du8-Sep-06 9:13 
QuestionApartment model, COM and misery (duplicate from the COM forum) Pin
BadJerry8-Sep-06 5:45
BadJerry8-Sep-06 5:45 
Not sure about the etiquette there - am I supposed to cross-post questions if my project covers more than one forum? if I am wondering, it probably mean it is a bit rude... I promiss that however desperate I get (and I am) I will not spam the lounge though. OK anyway, here is the reason of my misery:

In an asp.net application, I use a COM object... this COM objects is stored in the session.

The COM object has methods that can last a long time (it sends info through a socket and wait for the reply). My problem is whenever I call a method of the COM object, it is always in the same thread which means that multiple users can block themselves out ( I know: I log the thread ID).

The COM threading model is apartment.... which should be OK.

All threads in asp.net are MTA.... which should be OK.

But the whole thing is not OK.. any idea? Thanks!
AnswerRe: Apartment model, COM and misery (duplicate from the COM forum) Pin
JWood8-Sep-06 6:53
JWood8-Sep-06 6:53 
GeneralRe: Apartment model, COM and misery (duplicate from the COM forum) Pin
BadJerry8-Sep-06 7:02
BadJerry8-Sep-06 7:02 
GeneralRe: Apartment model, COM and misery (duplicate from the COM forum) Pin
JWood8-Sep-06 7:39
JWood8-Sep-06 7:39 
GeneralRe: Apartment model, COM and misery (duplicate from the COM forum) Pin
BadJerry8-Sep-06 8:23
BadJerry8-Sep-06 8:23 
GeneralRe: Apartment model, COM and misery (duplicate from the COM forum) [modified] Pin
JWood8-Sep-06 8:44
JWood8-Sep-06 8:44 
GeneralRe: Apartment model, COM and misery (duplicate from the COM forum) Pin
BadJerry8-Sep-06 9:51
BadJerry8-Sep-06 9:51 
Questionassert... Pin
jon-808-Sep-06 5:19
professionaljon-808-Sep-06 5:19 
AnswerRe: assert... Pin
Zac Howland8-Sep-06 5:26
Zac Howland8-Sep-06 5:26 
AnswerRe: assert... Pin
Anand Vivek Srivastava8-Sep-06 5:42
Anand Vivek Srivastava8-Sep-06 5:42 
AnswerRe: assert... Pin
John M. Drescher8-Sep-06 5:48
John M. Drescher8-Sep-06 5:48 
GeneralRe: assert... Pin
Zac Howland8-Sep-06 6:40
Zac Howland8-Sep-06 6:40 
QuestionCImage Pin
messages8-Sep-06 3:56
messages8-Sep-06 3:56 
AnswerRe: CImage Pin
Christopher Stratmann8-Sep-06 4:17
Christopher Stratmann8-Sep-06 4:17 
GeneralRe: CImage Pin
messages8-Sep-06 4:27
messages8-Sep-06 4:27 
GeneralRe: CImage Pin
Christopher Stratmann8-Sep-06 5:54
Christopher Stratmann8-Sep-06 5:54 
QuestionNamed Pipes buffer problem (Win32) Pin
vga28-Sep-06 2:53
vga28-Sep-06 2:53 
AnswerRe: Named Pipes buffer problem (Win32) Pin
Richard Andrew x648-Sep-06 19:48
professionalRichard Andrew x648-Sep-06 19:48 

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.