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

C / C++ / MFC

 
QuestionCapturing mouse input outside a dialog Pin
rbrunton12-Jun-13 7:19
rbrunton12-Jun-13 7:19 
GeneralRe: Capturing mouse input outside a dialog Pin
David Crow12-Jun-13 10:19
David Crow12-Jun-13 10:19 
GeneralRe: Capturing mouse input outside a dialog Pin
rbrunton12-Jun-13 11:04
rbrunton12-Jun-13 11:04 
GeneralRe: Capturing mouse input outside a dialog Pin
rbrunton12-Jun-13 11:11
rbrunton12-Jun-13 11:11 
AnswerRe: Capturing mouse input outside a dialog Pin
Erudite_Eric13-Jun-13 1:15
Erudite_Eric13-Jun-13 1:15 
AnswerRe: Capturing mouse input outside a dialog Pin
thanh_bkhn13-Jun-13 16:57
professionalthanh_bkhn13-Jun-13 16:57 
QuestionCToolTipCtrl with TTF_TRACK Flag won't disappear, SetDelayTime doesn't work? Pin
Falconapollo12-Jun-13 0:34
Falconapollo12-Jun-13 0:34 
QuestionLoadImage error Pin
_Flaviu11-Jun-13 22:04
_Flaviu11-Jun-13 22:04 
I have this code:
C++
if(m_Bitmap.GetSafeHandle())
    m_Bitmap.DeleteObject();
HBITMAP hBitmap = (HBITMAP)::LoadImage(NULL, lpszPathName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_CREATEDIBSECTION);
if(NULL == hBitmap)
{
    CString sMessage;
    const DWORD dwError = ::GetLastError();
    sMessage.Format(_T("Failed to load '%s' file. Reason: %s\n"), lpszPathName, GetErrorString(dwError));
    AfxMessageBox(sMessage, NULL, MB_ICONERROR);
    return FALSE;
}
m_Bitmap.Attach(hBitmap);

and work ok, but on the big bitmaps, I get:
C++
Not enough server storage is available to process this command

ok, I read this one[^], and I modified the "IRPStackSize" value to 0x19 (25 decimal), not working ... hoe can I get rid of this error ?

modified 12-Jun-13 4:37am.

AnswerRe: LoadImage error Pin
Jochen Arndt11-Jun-13 22:58
professionalJochen Arndt11-Jun-13 22:58 
GeneralRe: LoadImage error Pin
_Flaviu11-Jun-13 23:24
_Flaviu11-Jun-13 23:24 
GeneralRe: LoadImage error Pin
Jochen Arndt11-Jun-13 23:38
professionalJochen Arndt11-Jun-13 23:38 
GeneralRe: LoadImage error Pin
_Flaviu11-Jun-13 23:51
_Flaviu11-Jun-13 23:51 
GeneralRe: LoadImage error Pin
Jochen Arndt12-Jun-13 0:36
professionalJochen Arndt12-Jun-13 0:36 
GeneralRe: LoadImage error Pin
_Flaviu12-Jun-13 1:01
_Flaviu12-Jun-13 1:01 
QuestionHow can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
002comp11-Jun-13 20:12
002comp11-Jun-13 20:12 
AnswerRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
Jochen Arndt11-Jun-13 21:08
professionalJochen Arndt11-Jun-13 21:08 
GeneralRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
002comp11-Jun-13 22:31
002comp11-Jun-13 22:31 
GeneralRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
Jochen Arndt11-Jun-13 23:16
professionalJochen Arndt11-Jun-13 23:16 
GeneralRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
002comp12-Jun-13 22:12
002comp12-Jun-13 22:12 
GeneralRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
Jochen Arndt13-Jun-13 0:27
professionalJochen Arndt13-Jun-13 0:27 
Questioncorrupt __vfptr from dynamic loaded DLL Pin
Joerg Michels11-Jun-13 3:48
Joerg Michels11-Jun-13 3:48 
AnswerRe: corrupt __vfptr from dynamic loaded DLL Pin
Richard MacCutchan11-Jun-13 4:12
mveRichard MacCutchan11-Jun-13 4:12 
AnswerRe: corrupt __vfptr from dynamic loaded DLL Pin
pasztorpisti11-Jun-13 10:58
pasztorpisti11-Jun-13 10:58 
AnswerRe: corrupt __vfptr from dynamic loaded DLL Pin
Freak3012-Jun-13 2:55
Freak3012-Jun-13 2:55 
QuestionIWebBrowser2::Navigate2 problem with IE8 on Win7 Pin
narasingubhanu10-Jun-13 23:39
narasingubhanu10-Jun-13 23:39 

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.