Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: deque problem. Does this code has any problem? PinmvpCPallini14-Jan-13 6:59 
GeneralRe: deque problem. Does this code has any problem? Pingroupyu-jian14-Jan-13 13:50 
GeneralRe: deque problem. Does this code has any problem? Pingroupyu-jian14-Jan-13 16:02 
QuestionCDC Problem with coordinates PinmemberArgonia14-Jan-13 1:50 
AnswerRe: CDC Problem with coordinates PinmemberArgonia14-Jan-13 21:39 
GeneralRe: CDC Problem with coordinates PinmemberVaclav_Sal15-Jan-13 9:53 
GeneralRe: CDC Problem with coordinates PinmemberArgonia15-Jan-13 21:23 
QuestionDhcpRequestParams() PinmemberMan in the mirror13-Jan-13 19:46 
AnswerRe: DhcpRequestParams() PinmvpRichard MacCutchan13-Jan-13 22:11 
QuestionSOLVED From HANDLE to BITMAPINFO - another basic question for gurus [modified] PinmemberVaclav_Sal13-Jan-13 5:30 
AnswerRe: From HANDLE to BITMAPINFO - another basic question for gurus PinmvpRichard MacCutchan13-Jan-13 5:44 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus PinmemberVaclav_Sal13-Jan-13 6:08 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus PinmvpRichard MacCutchan13-Jan-13 6:32 
QuestionHow to get detail error info from E_FAIL? PinmemberFalconapollo11-Jan-13 21:23 
When I use ATL in MFC Application(Don't ask me why, just because I like), sometimes I got the error code: E_FAIL. However, it's almost useless for me to locate the specific reason.
 
I have googled so many times, but found nothing related. I thought there should be something like try{} catch{} in ATL.
 
Here's some sample code:
 
CAxWindow  m_wndView;  // ActiveX host window class.
CComPtr<IWMPPlayer>  m_spWMPPlayer;  // Smart pointer to IWMPPlayer interface.

AtlAxWinInit();
CComPtr<IAxWinHostWindow>  spHost;
HRESULT  hr;
CRect rcClient;
GetClientRect(&rcClient);
m_wndView.Create(m_hWnd, rcClient, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN, WS_EX_CLIENTEDGE);
//when I switch to Static Link to ATL from Dynamic Link to ATL, I always get E_FAIL
hr = m_wndView.QueryHost(&spHost);

AnswerRe: How to get detail error info from E_FAIL? Pinmember«_Superman_»11-Jan-13 23:43 
GeneralRe: How to get detail error info from E_FAIL? PinmemberFalconapollo12-Jan-13 0:00 
GeneralRe: How to get detail error info from E_FAIL? PinmemberJochen Arndt13-Jan-13 21:05 
AnswerRe: How to get detail error info from E_FAIL? PinmemberArgonia14-Jan-13 2:01 
QuestionVideo Capture using DirectShow only works for first time.? Pinmembermbatra3110-Jan-13 20:25 
AnswerRe: Video Capture using DirectShow only works for first time.? Pingroup_AnsHUMAN_ 11-Jan-13 2:05 
AnswerRe: Video Capture using DirectShow only works for first time.? PinmemberVaclav_Sal14-Jan-13 16:10 
Questionhow to unsigned int64 to two unsigned int32 values Pinmembervishalgpt9-Jan-13 22:22 
AnswerRe: how to unsigned int64 to two unsigned int32 values PinmemberJochen Arndt9-Jan-13 23:06 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pinmembervishalgpt9-Jan-13 23:32 
GeneralRe: how to unsigned int64 to two unsigned int32 values PinmemberJochen Arndt9-Jan-13 23:58 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pinmembervishalgpt10-Jan-13 0:08 
AnswerRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pinmember«_Superman_»10-Jan-13 18:39 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pinmembervishalgpt14-Jan-13 15:25 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pinmember«_Superman_»14-Jan-13 17:55 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pinmembervishalgpt14-Jan-13 19:01 
QuestionHTTP server in C. How to implement Keep-Alive? Pinmemberjohanm_29-Jan-13 20:02 
SuggestionRe: HTTP server in C. How to implement Keep-Alive? PinmvpRichard MacCutchan9-Jan-13 22:24 
GeneralRe: HTTP server in C. How to implement Keep-Alive? Pinmemberjohanm_210-Jan-13 1:17 
QuestionProblem loading non-default wab PinmemberMember 8689269-Jan-13 2:31 
AnswerRe: Problem loading non-default wab PinmemberCode-o-mat10-Jan-13 2:06 
GeneralRe: Problem loading non-default wab PinmemberMember 86892611-Jan-13 6:05 
GeneralRe: Problem loading non-default wab PinmemberCode-o-mat11-Jan-13 7:49 
GeneralRe: Problem loading non-default wab PinmemberMember 86892611-Jan-13 9:56 
GeneralRe: Problem loading non-default wab PinmemberCode-o-mat11-Jan-13 10:07 
GeneralRe: Problem loading non-default wab PinmemberCode-o-mat11-Jan-13 10:12 
GeneralRe: Problem loading non-default wab PinmemberMember 86892612-Jan-13 4:17 
GeneralRe: Problem loading non-default wab PinmemberCode-o-mat12-Jan-13 8:09 
QuestionRe: Problem loading non-default wab PinmvpRichard MacCutchan11-Jan-13 6:41 
AnswerRe: Problem loading non-default wab PinmemberMember 86892611-Jan-13 9:53 
GeneralRe: Problem loading non-default wab PinmvpRichard MacCutchan11-Jan-13 23:17 
GeneralRe: Problem loading non-default wab PinmemberMember 86892612-Jan-13 4:06 
GeneralRe: Problem loading non-default wab PinmvpRichard MacCutchan12-Jan-13 4:20 
QuestionHow do you get the file size for an open file? PinmemberMember 41945938-Jan-13 3:29 
AnswerRe: How do you get the file size for an open file? PinmemberJochen Arndt8-Jan-13 4:14 
GeneralRe: How do you get the file size for an open file? PinmemberMember 41945938-Jan-13 10:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 19 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid