Click here to Skip to main content
15,920,639 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionID_FILE_SAVE lost Pin
CODEPC15-Feb-10 3:37
CODEPC15-Feb-10 3:37 
QuestionRe: ID_FILE_SAVE lost Pin
David Crow15-Feb-10 3:56
David Crow15-Feb-10 3:56 
AnswerRe: ID_FILE_SAVE lost Pin
CODEPC15-Feb-10 4:06
CODEPC15-Feb-10 4:06 
AnswerRe: ID_FILE_SAVE lost Pin
«_Superman_»15-Feb-10 4:02
professional«_Superman_»15-Feb-10 4:02 
GeneralRe: ID_FILE_SAVE lost [modified] Pin
CODEPC15-Feb-10 4:07
CODEPC15-Feb-10 4:07 
GeneralRe: ID_FILE_SAVE lost Pin
«_Superman_»15-Feb-10 17:27
professional«_Superman_»15-Feb-10 17:27 
Questioncompact database Pin
kk.tvm15-Feb-10 1:15
kk.tvm15-Feb-10 1:15 
AnswerRe: compact database Pin
CPallini15-Feb-10 1:38
mveCPallini15-Feb-10 1:38 
Questionconguring a special style for CMFCOutlookBarTabCtrl class Pin
A&Ms14-Feb-10 23:42
A&Ms14-Feb-10 23:42 
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 

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.