I m getting CrtIsValidHeapPointer debug assertion
chikach
Posts
-
_CrtIsValidHeapPointer error -
_CrtIsValidHeapPointer errorhai This started happening when I added a malloc and free. I checked in Debug it is while freeing the memory. I tried the runtime lib settings.It was initally /MDd that time this error _CrtIsValidHeapPointer was coming.Then I tried to changed to /MTd then it in call stack shm_test.exe1_unlock_fhandle( ) was there. chikach
-
drawing in different layers in VC++hai I want some small rectangles on one layer. Then a line has to move from one end to another(which will be like drawing line ..erasing that and drawing next line in new position).This line I want in another layer so that the rectangles are not erased. When I tried to do both rectangles and lines together the rectagles are getting erased.So if i have them in separate layers then change inone layer will not affect the other. So is it possible to have line drawing in one layer and rectangles in another ?
-
Dialog size should change to the system screen sizewhich functions can i use to do this?
-
Dialog size should change to the system screen sizehey i got it . :) I chaged the last parameter to SWP_NOZORDER|SWP_SHOWWINDOW .then it was working. Thank u :)
-
Dialog size should change to the system screen sizehai , I am using this code in InitDialog() int width=GetSystemMetrics(SM_CXSCREEN); int height=GetSystemMetrics(SM_CYSCREEN); SetWindowPos(AfxGetApp()->m_pMainWnd,0,0,width,height,SWP_SHOWWINDOW); It is not working.
-
how to know the control?thank you :-)
-
how to know the control?I an handling the CTLCOLOR_EDIT message in the OnCtlColor() to change the background color of Edit Box.But I am having two edit boxes IDC_EDIT1 and IDC_EDIT2.I want edit1 to be blue and edit2 to be red. How I will know the source of the CTLCOLOR_EDIT message?
-
Dialog size should change to the system screen sizehi I am trying to use it in InitDialog() but they are showing undeclared identifier m_pMainWnd I saw this variable in the afxwin.h which is included by the StdAfx.h