Click here to Skip to main content
15,896,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: conguring a special style for CMFCOutlookBarTabCtrl class Pin
A&Ms15-Feb-10 10:06
A&Ms15-Feb-10 10:06 
QuestionUnstable Thread runs! Pin
mostafa_pasha14-Feb-10 22:38
mostafa_pasha14-Feb-10 22:38 
AnswerRe: Unstable Thread runs! Pin
Rajesh R Subramanian14-Feb-10 22:43
professionalRajesh R Subramanian14-Feb-10 22:43 
GeneralRe: Unstable Thread runs! Pin
mostafa_pasha15-Feb-10 3:59
mostafa_pasha15-Feb-10 3:59 
GeneralRe: Unstable Thread runs! Pin
Rajesh R Subramanian15-Feb-10 6:38
professionalRajesh R Subramanian15-Feb-10 6:38 
GeneralRe: Unstable Thread runs! Pin
mostafa_pasha15-Feb-10 10:16
mostafa_pasha15-Feb-10 10:16 
AnswerRe: Unstable Thread runs! Pin
Rajesh R Subramanian15-Feb-10 17:03
professionalRajesh R Subramanian15-Feb-10 17:03 
QuestionCoUninitialize in ExitInstance hangs Pin
VictorSotnikov14-Feb-10 22:28
VictorSotnikov14-Feb-10 22:28 
Language: Visual C++ 6.0; MFC app with CWinApp-based class
OS: WinXP

I use a COM component (http://www.emailarchitect.net/webapp/popcom/) in MFC app. I release it BEFORE call of ExitInstance; in ExitInstance I call CoUninitialize. This CoUninitialize hangs. If I call CoUninitialize not from ExitInstance but right after the COM object is released - no hangs.

All I know about this COM component is it uses asyncronous mode amd uses sink interfaces for client notification. Partially it uses ATL's method DispEventAdvise. My application has not its own cycles of message processing - only standard MFC cycle in CWinApp.

The hang does not depend on what was used to initialize COM: CoInitialize( NULL ) or CoInitializeEx(NULL, COINIT_APARTMENTTHREADED).
AnswerRe: CoUninitialize in ExitInstance hangs Pin
CPallini14-Feb-10 22:37
mveCPallini14-Feb-10 22:37 
GeneralRe: CoUninitialize in ExitInstance hangs Pin
VictorSotnikov15-Feb-10 0:09
VictorSotnikov15-Feb-10 0:09 
QuestionDisplay Huge Size file content in dialog Pin
Prabhu09200914-Feb-10 22:20
Prabhu09200914-Feb-10 22:20 
AnswerRe: Display Huge Size file content in dialog Pin
«_Superman_»14-Feb-10 22:25
professional«_Superman_»14-Feb-10 22:25 
GeneralRe: Display Huge Size file content in dialog Pin
Prabhu09200914-Feb-10 22:37
Prabhu09200914-Feb-10 22:37 
GeneralRe: Display Huge Size file content in dialog Pin
«_Superman_»14-Feb-10 22:48
professional«_Superman_»14-Feb-10 22:48 
NewsRe: Display Huge Size file content in dialog Pin
Prabhu09200915-Feb-10 0:48
Prabhu09200915-Feb-10 0:48 
GeneralRe: Display Huge Size file content in dialog Pin
Maximilien15-Feb-10 1:28
Maximilien15-Feb-10 1:28 
GeneralRe: Display Huge Size file content in dialog Pin
Rajesh R Subramanian15-Feb-10 1:41
professionalRajesh R Subramanian15-Feb-10 1:41 
QuestionRe: Display Huge Size file content in dialog Pin
CPallini14-Feb-10 22:55
mveCPallini14-Feb-10 22:55 
QuestionWrong partion info for Dynamic disk using DeviceIoControl Pin
MKC00214-Feb-10 22:03
MKC00214-Feb-10 22:03 
QuestionReading a CSV file Pin
Pryabu14-Feb-10 21:56
Pryabu14-Feb-10 21:56 
AnswerRe: Reading a CSV file Pin
«_Superman_»14-Feb-10 22:03
professional«_Superman_»14-Feb-10 22:03 
GeneralRe: Reading a CSV file Pin
Pryabu14-Feb-10 22:15
Pryabu14-Feb-10 22:15 
AnswerRe: Reading a CSV file Pin
Rolf Kristensen18-Feb-10 10:57
Rolf Kristensen18-Feb-10 10:57 
QuestionSending values to WPF control from VC++ Pin
Anu_Bala14-Feb-10 19:58
Anu_Bala14-Feb-10 19:58 
AnswerRe: Sending values to WPF control from VC++ Pin
CPallini14-Feb-10 21:30
mveCPallini14-Feb-10 21:30 

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.