Click here to Skip to main content
15,890,982 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDebug Assertion Failed - CPropertyPage [modified] Pin
AmbiguousName15-Apr-12 19:28
AmbiguousName15-Apr-12 19:28 
AnswerRe: Debug Assertion Failed - CPropertyPage [modified] Pin
CPallini15-Apr-12 21:38
mveCPallini15-Apr-12 21:38 
AnswerRe: Debug Assertion Failed - CPropertyPage [modified] Pin
AmbiguousName15-Apr-12 21:50
AmbiguousName15-Apr-12 21:50 
AnswerRe: Debug Assertion Failed - CPropertyPage [modified] Pin
Albert Holguin16-Apr-12 5:00
professionalAlbert Holguin16-Apr-12 5:00 
AnswerRe: Debug Assertion Failed - CPropertyPage [modified] Pin
JohnCz24-Apr-12 1:59
JohnCz24-Apr-12 1:59 
QuestionUnable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010 Pin
glitteringsound15-Apr-12 9:15
glitteringsound15-Apr-12 9:15 
AnswerRe: Unable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010 Pin
Albert Holguin15-Apr-12 11:00
professionalAlbert Holguin15-Apr-12 11:00 
GeneralRe: Unable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010 Pin
glitteringsound15-Apr-12 11:42
glitteringsound15-Apr-12 11:42 
Unfortunately adding it by hand also didn't work at all.

See the problem:
It crashes now inside DDX_Control(pDX, IDC_EDIT_Address, MacAddressEditCtrl ); where IDC_EDIT_Address is the id and MAcAddressEditctrl is CWnd object.

oid AFXAPI DDX_Control(CDataExchange* pDX, int nIDC, CWnd& rControl) { if ((rControl.m_hWnd == NULL) && (rControl.GetControlUnknown() == NULL)) // not subclassed yet { ASSERT(!pDX->m_bSaveAndValidate);

pDX->PrepareCtrl(nIDC); ////it crashes here...and inside it int the long run inside of code somehere..it calls GetOleControlSite() and there it is observed that m_pCtrlCont is NULL.

HWND hWndCtrl;
pDX->m_pDlgWnd->GetDlgItem(nIDC, &hWndCtrl);
if ((hWndCtrl != NULL) && !rControl.SubclassWindow(hWndCtrl))
{
ASSERT(FALSE); // possibly trying to subclass twice?
AfxThrowNotSupportedException();
}
ifndef _AFX_NO_OCC_SUPPORT
else
{
if (hWndCtrl == NULL)
{
if (pDX->m_pDlgWnd->GetOleControlSite(nIDC) != NULL)
{
rControl.AttachControlSite(pDX->m_pDlgWnd, nIDC);
}
}
else
{
// If the control has reparented itself (e.g., invisible control),
// make sure that the CWnd gets properly wired to its control site.
if (pDX->m_pDlgWnd->m_hWnd != ::GetParent(rControl.m_hWnd))
rControl.AttachControlSite(pDX->m_pDlgWnd);
}
}
endif //!_AFX_NO_OCC_SUPPORT
}
}
GeneralRe: Unable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010 Pin
Albert Holguin15-Apr-12 12:17
professionalAlbert Holguin15-Apr-12 12:17 
GeneralRe: Unable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010 Pin
glitteringsound15-Apr-12 12:54
glitteringsound15-Apr-12 12:54 
AnswerRe: Unable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010 Pin
Binu MD16-Apr-12 21:17
Binu MD16-Apr-12 21:17 
QuestionCaptions with files Pin
Anthony Appleyard15-Apr-12 4:58
Anthony Appleyard15-Apr-12 4:58 
AnswerRe: Captions with files Pin
Lakamraju Raghuram15-Apr-12 6:58
Lakamraju Raghuram15-Apr-12 6:58 
GeneralRe: Captions with files Pin
Anthony Appleyard15-Apr-12 8:25
Anthony Appleyard15-Apr-12 8:25 
AnswerRe: Captions with files Pin
enhzflep15-Apr-12 8:23
enhzflep15-Apr-12 8:23 
GeneralRe: Captions with files Pin
Anthony Appleyard15-Apr-12 8:58
Anthony Appleyard15-Apr-12 8:58 
GeneralRe: Captions with files Pin
enhzflep15-Apr-12 9:02
enhzflep15-Apr-12 9:02 
GeneralRe: Captions with files Pin
Anthony Appleyard15-Apr-12 19:31
Anthony Appleyard15-Apr-12 19:31 
GeneralRe: Captions with files Pin
enhzflep15-Apr-12 20:17
enhzflep15-Apr-12 20:17 
GeneralRe: Captions with files Pin
Anthony Appleyard15-Apr-12 22:23
Anthony Appleyard15-Apr-12 22:23 
AnswerRe: Captions with files Pin
enhzflep3-May-12 22:21
enhzflep3-May-12 22:21 
QuestionCan someone show me how to draw 3D lines? Pin
xy50518814-Apr-12 21:55
xy50518814-Apr-12 21:55 
AnswerRe: Can someone show me how to draw 3D lines? Pin
enhzflep14-Apr-12 23:44
enhzflep14-Apr-12 23:44 
QuestionProgress Bar not worked well with larger values? Pin
Le@rner14-Apr-12 2:43
Le@rner14-Apr-12 2:43 
AnswerRe: Progress Bar not worked well with larger values? Pin
Wes Aday14-Apr-12 2:56
professionalWes Aday14-Apr-12 2:56 

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.